Project

General

Profile

Bug #3582

Support #3538: Transition to Eclipse Photon

Excessive logging when content of property text input fields fails to validate

Added by Simon Barner about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
11/23/2018
Due date:
% Done:

0%

Estimated time:

Description

Steps to reproduce

  • Create a new project
  • Create a system schedule
  • Set the Hyper-period (MAF) field to 0,2
  • Now, append an a, and observe below message on the console
  • The message is repeated for any input character, until the string is valid again

!ENTRY org.eclipse.core.databinding 4 0 2018-11-23 13:47:16.402
!MESSAGE Invalid character for value [0,2a] at position [4] character [a].
!STACK 0
java.lang.IllegalArgumentException: Invalid character for value [0,2a] at position [4] character [a].
    at org.eclipse.core.databinding.conversion.StringToNumberConverter.convert(StringToNumberConverter.java:150)
    at org.eclipse.core.databinding.UpdateStrategy.convert(UpdateStrategy.java:704)
    at org.eclipse.core.databinding.UpdateValueStrategy.convert(UpdateValueStrategy.java:1)
    at org.eclipse.core.databinding.ValueBinding.lambda$0(ValueBinding.java:175)
    at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
    at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
    at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:162)
    at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:151)
    at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:46)
    at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
    at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
    at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:61)
    at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:98)
    at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.lambda$0(DecoratingObservableValue.java:73)
    at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:70)
    at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:117)
    at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:82)
    at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:116)
    at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$1(SimplePropertyObservableValue.java:65)
    at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:149)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:153)
    at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:171)
    at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.lambda$0(SimplePropertyObservableValue.java:63)
    at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:69)
    at org.eclipse.jface.internal.databinding.swt.WidgetListener.handleEvent(WidgetListener.java:56)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
    at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2882)
    at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4913)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4768)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4765)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2197)
    at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:258)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4863)
    at org.eclipse.swt.widgets.Text.windowProc(Text.java:2526)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4757)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2303)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3532)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at org.fortiss.af3.rcp.application.AF3Application.start(AF3Application.java:49)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1471)

History

#1 Updated by Simon Barner about 2 years ago

  • Parent task set to #3538

The bug did not appear in Kepler-based releases, and could be tracked down to the first commits after the transition to Photon.

#2 Updated by Simon Barner about 2 years ago

  • Status changed from New to Resolved
  • Assignee changed from Simon Barner to Anonymous

Fixed in https://git.fortiss.org/af3/kernel/merge_requests/38

For completeness: org.conqat.ide.commons.ui.databinding.validate.TextToIntegerValidator was tested ok.

#3 Updated by Anonymous almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF