java.lang.NullPointerException at org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:170) at org.openide.text.CloneableEditor$DoInitialize.initCustomEditor(CloneableEditor.java:377) at org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:479) at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:262) at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1335) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)