Opened 16 years ago
Closed 16 years ago
#75 closed defect (worksforme)
Fix Exception occuring by click at TrackWidget
Reported by: | Fabian Rohn | Owned by: | Henrik Heimbuerger |
---|---|---|---|
Priority: | major | Milestone: | MS1: First release (1.0.0) |
Component: | ui | Version: | pre-1.0 |
Keywords: | TrackWidget | Cc: |
Description
The exeption occurs only sometimes.
00:55:03,078 ERROR unknown:42 - Event handler missing for control NONE in TrackWidget.handleInnerControlClick() java.lang.RuntimeException: Event handler missing for control NONE in TrackWidget.handleInnerControlClick() at de.jacavi.rcp.widgets.TrackWidget.handleInnerControlClick(TrackWidget.java:555) at de.jacavi.rcp.widgets.TrackWidget.handleMouseDown(TrackWidget.java:486) at de.jacavi.rcp.widgets.TrackWidget$1.mouseDown(TrackWidget.java:337) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3782) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3381) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2394) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2358) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2210) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:494) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:489) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at de.jacavi.rcp.Application.start(Application.java:25) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Change History (4)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Status: | new → assigned |
---|
comment:3 Changed 16 years ago by
New commit by hheimbuerger (revision [363]):
[Fix for ticket #75] Replaced exception with a logged warning.
Instead of raising an exception, a warning is now logged. I'm still not sure when or how this occurs, but at least it shouldn't have any negative consequences now. (Worse case would be that a control click on the TrackWidget is discarded.)
comment:4 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This is most likely a race condition issue that won't appear anymore when the animation is triggered by the RaceEngine.
I'll leave it open for now, but I can't reproduce it. If it's something else, we need to figure out when it occurs.