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 Dev (Build 201110190600) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511c OS: Mac OS X User Comments: GUEST: Nada solo armando un simple ejemplo que viene con el Netbeans vriha: In JSP file: <% String var; %><!-- sds d--><% var.| Invoke cc at the place of "|", then quickly delete the var. and replace it with string in quotes "foo".| and invoke cc at the place of "|". I reproduced it twice. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createTaggedCompilationController(JavaSource.java:744) 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.api.java.source.ui.ElementJavadoc$4.call(ElementJavadoc.java:365) at org.netbeans.api.java.source.ui.ElementJavadoc$4.call(ElementJavadoc.java:362)
Created attachment 112269 [details] stacktrace
Turns out it happens a lot on Mac while working jsp(f)/tag(f) files.
http://hg.netbeans.org/jet-main/rev/e7a209827d94
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e7a209827d94 User: Jan Lahoda <jlahoda@netbeans.org> Log: #204019: preventing NPE regarding remote Javadoc and non-Java files.
verified