This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Linux RH7.2 , JDK1.4 last RC, NB 3.3.1 RC2, if I invoke form editor, if I want to close IDE, I get this NPE It is impossible to close IDE anymore, I have to use ctrl-c. *********** Exception occurred ************ Sun Jan 27 15:44:59 CET 2002: java.lang.NullPointerException: <no message> java.lang.NullPointerException at org.netbeans.modules.form.FormDesigner.writeExternal(FormDesigner.java:114) at org.openide.windows.TopComponent$Replacer.writeObject(TopComponent.java:737) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:780) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1294) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) at org.openide.loaders.XMLSettingsSupport.storeSerialData(XMLSettingsSupport.java:145) at org.openide.loaders.XMLSettingsSupport.storeToXML10(XMLSettingsSupport.java:82) at org.openide.loaders.InstanceDataObject$SettingsInstance.saveInstance2Buffer(InstanceDataObject.java:1505) at org.openide.loaders.InstanceDataObject$SettingsInstance.access$200(InstanceDataObject.java:1132) at org.openide.loaders.InstanceDataObject.storeSettings(InstanceDataObject.java:329) at org.openide.loaders.InstanceDataObject.access$1700(InstanceDataObject.java:66) at org.openide.loaders.InstanceDataObject$Creator.run(InstanceDataObject.java:1734) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:388) at org.openide.loaders.InstanceDataObject$Creator.createInstanceDataObject(InstanceDataObject.java:1749) at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java:318) at org.netbeans.core.windows.PersistenceManager.forceSaveOfTopComponents(PersistenceManager.java:493) at org.netbeans.core.windows.PersistenceManager.writeXML(PersistenceManager.java:249) at org.netbeans.modules.projects.PSupport.projectSave(PSupport.java:223) at org.netbeans.core.NbProjectOperation.storeLastProject(NbProjectOperation.java:52) at org.netbeans.core.NbTopManager.exit(NbTopManager.java:698) at org.netbeans.core.actions.SystemExit.performAction(SystemExit.java:54) at org.netbeans.core.windows.MainWindow$3.windowClosing(MainWindow.java:155) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:288) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:287) at java.awt.Window.processWindowEvent(Window.java:1083) at javax.swing.JFrame.processWindowEvent(JFrame.java:266) at org.netbeans.core.windows.MainWindow.processWindowEvent(MainWindow.java:366) at java.awt.Window.processEvent(Window.java:1042) at java.awt.Component.dispatchEventImpl(Component.java:3526) at java.awt.Container.dispatchEventImpl(Container.java:1437) at java.awt.Window.dispatchEventImpl(Window.java:1566) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
We cannot reproduce it... Looks very strange...
After all it looks like this can really happen (however very rarely), see issue 19855 (window system). We could make a simple workaround by adding if (formEditorSupport == null) return; at the top of writeExternal method in FormDesigner top component. The question is: should this be done for 3.3.1?
I propose to waiver this issue for 3.3.1. Reasons: - not reproducible, - not clear how it could happened, nobody else reported it, - the proposed fix is just a workaround, another problems could remain or appear, - it's really too late now...
Waiting for waiver approval...
I agree with the waiver, however this should be on the list for 3.3.2 if it turns out that we would be doing it...
Waiver approved by QA.
Waiver approved
The workaround implemented in dev trunk. /cvs/form/src/org/netbeans/modules/form/FormDesigner.java revision 1.53
*** Issue 20135 has been marked as a duplicate of this issue. ***
Petr, please verify this issue, I never saw it.
As has Ian wrote, this should be fixed in 3.3.2, so I add
*** Issue 20879 has been marked as a duplicate of this issue. ***
*** Issue 20932 has been marked as a duplicate of this issue. ***
*** Issue 21406 has been marked as a duplicate of this issue. ***
*** Issue 21055 has been marked as a duplicate of this issue. ***
*** Issue 21531 has been marked as a duplicate of this issue. ***
*** Issue 21573 has been marked as a duplicate of this issue. ***
*** Issue 21702 has been marked as a duplicate of this issue. ***
Patch integrated to orion_fcs branch.
*** Issue 22001 has been marked as a duplicate of this issue. ***
{Build 020401) Verified
*** Issue 22071 has been marked as a duplicate of this issue. ***
*** Issue 22333 has been marked as a duplicate of this issue. ***
*** Issue 22429 has been marked as a duplicate of this issue. ***
*** Issue 22525 has been marked as a duplicate of this issue. ***
*** Issue 22624 has been marked as a duplicate of this issue. ***
*** Issue 22648 has been marked as a duplicate of this issue. ***
*** Issue 23557 has been marked as a duplicate of this issue. ***
*** Issue 23638 has been marked as a duplicate of this issue. ***
Resolved for 3.3.x or earlier, no new info since then -> closing.