Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 59370 - [Presentations] error while dragging properties view
Summary: [Presentations] error while dragging properties view
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-20 20:52 EDT by steven melzer CLA
Modified: 2004-05-08 06:18 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 steven melzer CLA 2004-04-20 20:52:01 EDT
i am using 3.0M8 on a winXP machine.  i created a new plug-in project.  i 
added an extension (a view) and added a category.  then i noticed that the 
properties view is now in the same window as several others, so i grabbed it 
and dragged it to the left so it lived in its own window, like in 2.1.x.  i 
got the following error message when doing so.  the properties page does move 
over, however.

Error Apr 20, 2004 20:36:46.767 Problems occurred when invoking code from plug-
in: "org.eclipse.core.runtime".
java.lang.NullPointerException
at org.eclipse.ui.internal.presentations.BasicStackPresentation.initTab
(BasicStackPresentation.java:610)
at 
org.eclipse.ui.internal.presentations.BasicStackPresentation.childPropertyChang
ed(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)
Comment 1 Stefan Xenos CLA 2004-05-08 06:18:30 EDT

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