Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 162205 - NPE when closing phpfile in editor
Summary: NPE when closing phpfile in editor
Status: CLOSED DUPLICATE of bug 161397
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Guy Gurfinkel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 09:34 EDT by Georg Sendt CLA
Modified: 2020-05-14 11:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Sendt CLA 2006-10-25 09:34:23 EDT
java.lang.NullPointerException
	at org.eclipse.php.core.phpModel.parser.PHPWorkspaceModelManager.addFileToModel(Unknown Source)
	at org.eclipse.php.ui.editor.PHPStructuredEditor$2.perspectiveChanged(Unknown Source)
	at org.eclipse.ui.internal.PerspectiveListenerList$5.run(PerspectiveListenerList.java:151)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.PerspectiveListenerList.fireEvent(PerspectiveListenerList.java:58)
	at org.eclipse.ui.internal.PerspectiveListenerList.firePerspectiveChanged(PerspectiveListenerList.java:149)
	at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged(WorkbenchWindow.java:1273)
	at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1248)
	at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1324)
	at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54)
	at org.eclipse.ui.internal.PartStack.close(PartStack.java:499)
	at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:205)
	at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:106)
	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
	at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:580)
	at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:187)
	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2107)
	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 1 Charlie Surface CLA 2006-11-02 10:06:42 EST
This looks like a dupe of bug 162205.
Comment 2 Charlie Surface CLA 2006-11-02 10:08:14 EST
Oops.  Meant to say it's a dupe of bug 161397.
Comment 3 Jason Belich CLA 2006-11-06 14:39:40 EST
sure it's a duplicate of 161397, but i'm experiencing it as well on linux/sun-java-1.5.0.  If this bug is due to a corrupted workspace, what's the fix procedure?
Comment 4 Guy Gurfinkel CLA 2006-11-22 10:39:33 EST
#161397 - was fixed

*** This bug has been marked as a duplicate of 161397 ***
Comment 5 Gadi Goldbarg CLA 2006-12-10 03:25:06 EST
duplicate