java.lang.NullPointerException at org.netbeans.modules.editor.NbEditorDocument.createEditor(NbEditorDocument.java:170) at org.openide.text.CloneableEditor$DoInitialize.initCustomEditor(CloneableEditor.java:352) at org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:454) at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:255) at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1300) 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:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)