Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 110761 - [DnD] org.eclipse.ui.internal.PartSashContainer.dropObject causes NPE
Summary: [DnD] org.eclipse.ui.internal.PartSashContainer.dropObject causes NPE
Status: RESOLVED DUPLICATE of bug 110354
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 01:04 EDT by Missing name CLA
Modified: 2005-09-28 08:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2005-09-27 01:04:15 EDT
Not sure what caused this. Eclipse was hung and I had to restart.

I had multiple splits in the editor content area and was maximising one
particular spit. Error happend at that point. But that may not be the real cause.


----------------------- log ----------------------------
Error 2005-09-27 16:53:34.111 Unhandled event loop exception
Error 2005-09-27 16:53:34.181 java.lang.NullPointerException
java.lang.NullPointerException
at org.eclipse.ui.internal.PartSashContainer.dropObject(PartSashContainer.java:1175)
at
org.eclipse.ui.internal.PartSashContainer$SashContainerDropTarget.drop(PartSashContainer.java:131)
at org.eclipse.ui.internal.dnd.DragUtil.performDrag(DragUtil.java:131)
at org.eclipse.ui.internal.FastViewBar.startDrag(FastViewBar.java:551)
at org.eclipse.ui.internal.FastViewBar.startDraggingFastView(FastViewBar.java:527)
at org.eclipse.ui.internal.FastViewBar$1.handleEvent(FastViewBar.java:106)
at
org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:96)
at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:89)
at
org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:61)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:884)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3194)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2823)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1755)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:368)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
---------------------- end ---------------
Comment 1 Missing name CLA 2005-09-27 01:05:08 EDT
eclipse.buildId=I20050923-1000
java.version=1.5.0_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NZ
Command-line arguments:  -os win32 -ws win32 -arch x86
Comment 2 Kim Horne CLA 2005-09-27 09:07:30 EDT
Might be somehow related to bug 110354
Comment 3 Eric Moffatt CLA 2005-09-27 09:14:58 EDT
When you say 'maximizing one particular split' what do you mean? The callstack 
you got indicates that you were in a Drag and Drop operation (as opposed to 
moving a splitter or maximizing a tab...).

We already know that this can be caused by dragging from the 'Fast' bar (see 
Kim's comment) and I'm trying to figure out if this is the same problem (or 
whether we're more hosed than I thought...;-).
Comment 4 Missing name CLA 2005-09-27 19:53:32 EDT
As I had mentioned I am not sure. May be by mistake I clicked and dragged
something while maximising a split.

I tried multiple splits in the content area - minimizing / maximizing them and
could not recreate the problem.

Comment 5 Eric Moffatt CLA 2005-09-28 08:56:00 EDT
We've already committed a fix for bug 110354 which solves both the fast view 
issue and should also solve this one (there were two failure paths and we've 
fixed both).

I'll mark this as a dup but please re-open if your problem still occurs after 
getting a recent (i.e. today's) version.


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