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.
This bug was originally marked as duplicate of bug 195610, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201203250401) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: sunbiz: Introduce local extension with replace existing with extension throws this exception Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.EditorModule.reformat(EditorModule.java:601) at org.netbeans.modules.editor.EditorModule.access$100(EditorModule.java:109) at org.netbeans.modules.editor.EditorModule$5.operationCreateFromTemplate(EditorModule.java:295) at org.openide.loaders.DataLoaderPool.fireOperationEvent(DataLoaderPool.java:240) at org.openide.loaders.DataObject.fireOperationEvent(DataObject.java:870) at org.openide.loaders.DataObject.createFromTemplate(DataObject.java:843)
Created attachment 117232 [details] stacktrace
Created attachment 117613 [details] stacktrace