Community
Participate
Working Groups
The application is an eclipse 3.7 application running the eclipse 4 compability layer, and the target is Eclipse 4.4m7. The functionality is 4.4m6 works! The perspective has tree views, added as standalone views. When dragging any of the view, the exception below is generated. 13:42:38.401 [ERROR] 698 UI Thread ApplicationStatusLogAdapter - Unhandled event loop exception java.lang.NullPointerException at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent2.isInCursorShell(SplitDropAgent2.java:100) at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent2.checkEdge(SplitDropAgent2.java:191) at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent2.checkAreaEdge(SplitDropAgent2.java:167) at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent2.getTargetElement(SplitDropAgent2.java:80) at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent2.canDrop(SplitDropAgent2.java:68) at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.getDropAgent(DnDManager.java:516) at org.eclipse.e4.ui.workbench.addons.dndaddon.DragAgent.dragStart(DragAgent.java:102) at org.eclipse.e4.ui.workbench.addons.dndaddon.PartDragAgent.dragStart(PartDragAgent.java:95) at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.startDrag(DnDManager.java:237) at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager$1.dragDetected(DnDManager.java:87) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:127) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.sonymobile.cs.ma3.client.emma.EmmaApplication.start(EmmaApplication.java:322) 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:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Knut, can you be more specific about the perspective contents (i.e. your IPageLayout implementation would be great) and what you were dragging and where when you got this exception ?
Here's the Gerrit (just adds a null check): https://git.eclipse.org/r/26374
I've pushed a new Gerrit (this time based off of master..;-). https://git.eclipse.org/r/26381
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=43feef89ea0a5a07740ab41d587464e9fb5c8c24 PW
Verified (visually) in 4.4.0.I20140515-1230.