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.

Bug 210080

Summary: NullPointerException at org.netbeans.modules.editor.EditorModule.reformat
Product: editor Reporter: sunbiz <sunbiz>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sunbiz
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 186273
Attachments: stacktrace
stacktrace

Description sunbiz 2012-03-26 09:20:42 UTC
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)
Comment 1 sunbiz 2012-03-26 09:20:43 UTC
Created attachment 117232 [details]
stacktrace
Comment 2 sunbiz 2012-04-01 20:56:21 UTC
Created attachment 117613 [details]
stacktrace