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 149880, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.2 Beta (Build 201205031832) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createTaggedCompilationController(JavaSource.java:723) at org.netbeans.modules.java.source.JavaSourceUtilImpl.createTaggedCompilationController(JavaSourceUtilImpl.java:60) at org.netbeans.modules.java.preprocessorbridge.spi.JavaSourceUtilImpl$MyAccessor.createTaggedCompilationController(JavaSourceUtilImpl.java:78) at org.netbeans.modules.java.preprocessorbridge.api.JavaSourceUtil.createControllerHandle(JavaSourceUtil.java:96) at org.netbeans.modules.editor.java.JavaCodeTemplateProcessor$6.run(JavaCodeTemplateProcessor.java:944) at org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:102)
Created attachment 122176 [details] stacktrace
To reproduce: * create any JSP file * add <% %> scriptlet * try to expand "sb" abbreviation inside the scriptlet. The JavaSource is created just from the whole (JSP) file in this case; text/x-java embeddings are not covered
Created attachment 146766 [details] stacktrace Editing a jsp file not belonging to the currently opened project.
Could not reproduce / not enough info. Possibly the fileobject was null for some reason. If you can reproduce the defect, please add -J-Dorg.netbeans.api.java.source.JavaSource.level=500 to your commandline or netbeans.cfg. Remove it as soon as the defect is reproduced, it will decrease performance of the IDE / make the logs quite large. Attach messages.log here. Thanks.