Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335714

Summary: NPE while moving views
Product: [Eclipse Project] e4 Reporter: Olivier Thomann <Olivier_Thomann>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, karsten.thoms, pwebster, remy.suen, robert.roth.off
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2011-01-28 12:50:05 EST
Using eclipse.buildId=I20110126-2200
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_CA
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -console,

I got this exception:

java.lang.NullPointerException
	at org.eclipse.e4.ui.workbench.addons.dndaddon.SplitDropAgent.drop(SplitDropAgent.java:131)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.startDrag(DnDManager.java:201)
	at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager$3.handleEvent(DnDManager.java:112)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4126)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3715)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.run(PartRenderingEngine.java:824)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:740)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:87)
	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:540)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:522)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:344)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Steps to reproduce:
1) I move the "Progress" view by mistake
2) I wanted to move it back at the bottom of the editor as all other views.

I could not reproduce on another workspace running the same version.

It looks like my workspace is now in a bad state.
Comment 1 Olivier Thomann CLA 2011-01-28 13:29:29 EST
Every time I close a new Progress view I get:
!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.308
!MESSAGE Unable to process "CompatibilityView.eventBroker": no actual value was found for the argument "IEventBroker".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.313
!MESSAGE Unable to process "HandledContributionItem.modelService": no actual value was found for the argument "EModelService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.315
!MESSAGE Unable to process "HandledContributionItem.modelService": no actual value was found for the argument "EModelService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.318
!MESSAGE Unable to process "HandledContributionItem.modelService": no actual value was found for the argument "EModelService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.320
!MESSAGE Unable to process "HandledContributionItem.modelService": no actual value was found for the argument "EModelService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.323
!MESSAGE Unable to process "HandledContributionItem.modelService": no actual value was found for the argument "EModelService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.325
!MESSAGE Unable to process "HandledContributionItem#setResourceUtils()": no actual value was found for the argument "IResourceUtilities".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.327
!MESSAGE Unable to process "HandledContributionItem#setResourceUtils()": no actual value was found for the argument "IResourceUtilities".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.329
!MESSAGE Unable to process "HandledContributionItem#setResourceUtils()": no actual value was found for the argument "IResourceUtilities".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.331
!MESSAGE Unable to process "HandledContributionItem#setResourceUtils()": no actual value was found for the argument "IResourceUtilities".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.334
!MESSAGE Unable to process "HandledContributionItem#setResourceUtils()": no actual value was found for the argument "IResourceUtilities".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.339
!MESSAGE Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.341
!MESSAGE Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.343
!MESSAGE Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.345
!MESSAGE Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.347
!MESSAGE Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.350
!MESSAGE Unable to process "HandledContributionItem.bindingService": no actual value was found for the argument "EBindingService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.352
!MESSAGE Unable to process "HandledContributionItem.bindingService": no actual value was found for the argument "EBindingService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.354
!MESSAGE Unable to process "HandledContributionItem.bindingService": no actual value was found for the argument "EBindingService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.356
!MESSAGE Unable to process "HandledContributionItem.bindingService": no actual value was found for the argument "EBindingService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.359
!MESSAGE Unable to process "HandledContributionItem.bindingService": no actual value was found for the argument "EBindingService".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.362
!MESSAGE Unable to process "EventBroker.logger": no actual value was found for the argument "Logger".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.364
!MESSAGE Unable to process "CompatibilityView.logger": no actual value was found for the argument "Logger".

!ENTRY org.eclipse.e4.core 4 0 2011-01-28 12:48:14.366
!MESSAGE Unable to process "EventBroker.logger": no actual value was found for the argument "Logger".
Comment 2 Robert Roth CLA 2013-10-21 08:21:15 EDT
This might be a duplicate of bug #320743, the stacktrace looks surprisingly similar.
Comment 3 Karsten Thoms CLA 2017-09-08 09:24:28 EDT

*** This bug has been marked as a duplicate of bug 320743 ***