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 - NullPointerException at org.netbeans.modules.editor.EditorModule.reformat
Summary: NullPointerException at org.netbeans.modules.editor.EditorModule.reformat
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 09:20 UTC by sunbiz
Modified: 2012-05-29 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186273


Attachments
stacktrace (10.03 KB, text/plain)
2012-03-26 09:20 UTC, sunbiz
Details
stacktrace (10.03 KB, text/plain)
2012-04-01 20:56 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
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