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.
Build: NetBeans IDE Dev (Build 110217-1bfa49e5a298) VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: SunOS User Comments: GUEST: Creating new folder in project Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.EditorModule.reformat(EditorModule.java:658) at org.netbeans.modules.editor.EditorModule.access$100(EditorModule.java:106) at org.netbeans.modules.editor.EditorModule$6.operationCreateFromTemplate(EditorModule.java:352) at org.openide.loaders.DataLoaderPool.fireOperationEvent(DataLoaderPool.java:240) at org.openide.loaders.DataObject.fireOperationEvent(DataObject.java:848) at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:821)
Created attachment 106111 [details] stacktrace
Created attachment 106154 [details] stacktrace Tried to create a new folder in my project.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=176737
When the error is reported, the only way out is pressing cancel. The folder is created btw. Checkout the screenshot i posted
Created attachment 106156 [details] Screenshot
http://hg.netbeans.org/jet-main/rev/3b3628552b4d
Integrated into 'main-golden', will be available in build *201102190501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3b3628552b4d User: Jan Lahoda <jlahoda@netbeans.org> Log: #195610: preventing NPE.