Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
I admit it is somewhat a corner case, but – I have a TopComponent whose getPersistenceType returns PERSISTENCE_NEVER and so a corresponding config file is never created on config fs. If the user closes the document group which contains such an editor, the core throws a NPE:
java.lang.NullPointerException at org.netbeans.core.windows.documentgroup.GroupsManager.closeGroup(GroupsManager.java:376) at org.netbeans.core.windows.documentgroup.DocumentGroupImpl.close(DocumentGroupImpl.java:70) at org.netbeans.core.windows.documentgroup.GroupsManager.openGroup(GroupsManager.java:172) at org.netbeans.core.windows.documentgroup.DocumentGroupImpl.open(DocumentGroupImpl.java:66) at org.netbeans.core.windows.documentgroup.GroupsMenuAction$OpenGroupAction$1.run(GroupsMenuAction.java:167) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method)
Attachments
Issue Links
- links to