Community
Participate
Working Groups
Using 206, 1) Create an empty workspace 2) Create an html file 3) Open it by double-clicking on it in the navigator view. I got a Netscape window encapsulated in the workspace. 4) Close it immediately without doing any change. 5) First problem: It asks if I want to save the file, but I didn't change it. 6) Second problem: I got an internal error and this stack trace in the log: Log: Tue Oct 30 17:27:43 EST 2001 1 org.eclipse.core.resources 4 Unhandled exception caught in event loop. Log: Tue Oct 30 17:27:44 EST 2001 4 org.eclipse.ui 0 java.lang.NullPointerException java.lang.NullPointerException at org.eclipse.ui.internal.EditorWorkbook.setVisibleEditor(EditorWorkbook.java:613) at org.eclipse.ui.internal.EditorPresentation.setVisibleEditor(EditorPresentation.j ava:328) at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:845) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:1284) at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:427) at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:75) at org.eclipse.ui.internal.EditorWorkbook$1.itemClosed(EditorWorkbook.java:110) at org.eclipse.swt.custom.CTabFolder.closeNotify(CTabFolder.java:285) at org.eclipse.swt.custom.CTabFolder.onSelection(CTabFolder.java:993) at org.eclipse.swt.custom.CTabFolder.access$8(CTabFolder.java:985) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:204) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:638) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1365) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1167) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:675) at org.eclipse.ui.internal.Workbench.run(Workbench.java:658) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:82 0) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:433) at org.eclipse.core.launcher.Main.main(Main.java:306)
Did Netscape open as external or internal editor? What version of Netscape were you using?
I am using Netscape 4.75 for Windows 2000 as an internal editor.
*** Bug 5403 has been marked as a duplicate of this bug. ***
Happens for .bmp files too.
This problem needs to be solve quickly according to the fact that we report the changes in an HTML file and not a text file anymore. It is very frustrating to see that each time I open an html file inside the editor I got a NPE. This exception is reported again when the workspace is closed. Editing the html with an external editor loses the synchronization with the workspace contents and is error-prone for losing fixes references and synchronization with stream.
All opened editors are unusable after the NPE. Do you have any idea when this will be fixed?
NPE is fixed and released in 2.0 stream.
*** Bug 5564 has been marked as a duplicate of this bug. ***
*** Bug 6183 has been marked as a duplicate of this bug. ***