Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 59594 - [Presentations] NPE in BasicStackPresentation
Summary: [Presentations] NPE in BasicStackPresentation
Status: RESOLVED DUPLICATE of bug 56816
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Stefan Xenos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 05:01 EDT by Christof Marti CLA
Modified: 2004-05-08 06:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Marti CLA 2004-04-22 05:01:27 EDT
I200404201300 with a plugin-export from 20040422_0904 (GMT+1:00)

java.lang.NullPointerException
        at org.eclipse.ui.internal.presentations.BasicStackPresentation$10.handl
eEvent(BasicStackPresentation.java:262)
        at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(Present
ationUtil.java:80)
        at org.eclipse.ui.presentations.PresentationUtil.access$1(PresentationUt
il.java:75)
        at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(Presentat
ionUtil.java:51)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2592)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2270)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1437)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1408)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:244)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:140)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90
)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct
ivator.java:280)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:240)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
        at org.eclipse.core.launcher.Main.run(Main.java:699)
        at org.eclipse.core.launcher.Main.main(Main.java:683)
java.lang.NullPointerException
Comment 1 Rob Grzywinski CLA 2004-05-04 12:07:33 EDT
I don't know if this is related:

OS:  WinXP
Version: 3.0.0
Build id: 200403261517

java.lang.NullPointerException
	at org.eclipse.ui.internal.presentations.BasicStackPresentation.initTab
(BasicStackPresentation.java:610)
	at 
org.eclipse.ui.internal.presentations.BasicStackPresentation.childPropertyChange
d(BasicStackPresentation.java:376)
	at 
org.eclipse.ui.internal.presentations.BasicStackPresentation$7.propertyChanged
(BasicStackPresentation.java:190)
	at org.eclipse.ui.internal.PresentableViewPart.firePropertyChange
(PresentableViewPart.java:54)
	at org.eclipse.ui.internal.ViewPane.toolBarResized(ViewPane.java:278)
	at org.eclipse.ui.internal.ViewPane.access$0(ViewPane.java:269)
	at org.eclipse.ui.internal.ViewPane$PaneToolBarManager.relayout
(ViewPane.java:92)
	at org.eclipse.jface.action.ToolBarManager.update
(ToolBarManager.java:289)
	at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.java:566)
	at org.eclipse.ui.internal.ViewActionBars.updateActionBars
(ViewActionBars.java:55)
	at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.java:719)
	at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:569)
	at org.eclipse.ui.views.properties.PropertySheet.partActivated
(PropertySheet.java:162)
	at org.eclipse.ui.internal.PartListenerList$1.run
(PartListenerList.java:49)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:610)
	at org.eclipse.core.runtime.Platform.run(Platform.java:521)
	at org.eclipse.ui.internal.PartListenerList.firePartActivated
(PartListenerList.java:47)
	at org.eclipse.ui.internal.WorkbenchPage.firePartActivated
(WorkbenchPage.java:1296)
	at org.eclipse.ui.internal.WorkbenchPage.setActivePart
(WorkbenchPage.java:2595)
	at org.eclipse.ui.internal.WorkbenchPage.requestActivation
(WorkbenchPage.java:2290)
	at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:290)
	at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:317)
	at org.eclipse.ui.internal.PartTabFolder.presentationSelectionChanged
(PartTabFolder.java:638)
	at org.eclipse.ui.internal.PartTabFolder.access$3
(PartTabFolder.java:628)
	at org.eclipse.ui.internal.PartTabFolder$1.selectPart
(PartTabFolder.java:140)
	at 
org.eclipse.ui.internal.presentations.BasicStackPresentation$4.handleEvent
(BasicStackPresentation.java:159)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:793)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:778)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:586)
	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2904)
	at org.eclipse.swt.custom.CTabFolder.destroyItem(CTabFolder.java:627)
	at org.eclipse.swt.custom.CTabItem.dispose(CTabItem.java:148)
	at 
org.eclipse.ui.internal.presentations.BasicStackPresentation.removePart
(BasicStackPresentation.java:637)
	at org.eclipse.ui.internal.PartTabFolder.remove(PartTabFolder.java:655)
	at org.eclipse.ui.internal.PerspectivePresentation.derefPart
(PerspectivePresentation.java:486)
	at org.eclipse.ui.internal.RootLayoutContainer.derefPart
(RootLayoutContainer.java:253)
	at org.eclipse.ui.internal.PartSashContainer.dropObject
(PartSashContainer.java:677)
	at org.eclipse.ui.internal.RootLayoutContainer.dropObject
(RootLayoutContainer.java:191)
	at org.eclipse.ui.internal.PartSashContainer$3.drop
(PartSashContainer.java:627)
	at org.eclipse.ui.internal.dnd.DragUtil.performDrag(DragUtil.java:109)
	at org.eclipse.ui.internal.PartTabFolder$1.dragStart
(PartTabFolder.java:92)
	at 
org.eclipse.ui.internal.presentations.BasicStackPresentation$10.handleEvent
(BasicStackPresentation.java:274)
	at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove
(PresentationUtil.java:86)
	at org.eclipse.ui.presentations.PresentationUtil.access$1
(PresentationUtil.java:79)
	at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent
(PresentationUtil.java:58)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2578)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2256)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:257)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:90)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:277)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:239)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:117)
	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:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
	at org.eclipse.core.launcher.Main.run(Main.java:692)
	at org.eclipse.core.launcher.Main.main(Main.java:676)

I was attempting to move the Properties view over the Hierarchy view and only 
the top part of a vertically orientated Hierarchy view was highlighted and the 
D&D icon was the folders (and not the arrow). 
Comment 2 Stefan Xenos CLA 2004-05-08 06:07:55 EDT
The original bug is a duplicate of bug 58042 (fixed)

However, the NPE from comment 1 seems to be something different. Keeping this
open until the NPE can be investigated.
Comment 3 Stefan Xenos CLA 2004-05-08 06:17:41 EDT
The stack trace in comment 1 is a dupe of bug 56816

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