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 215707, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 (Build 201511021428) VM: Java HotSpot(TM) Client VM, 25.77-b03, Java(TM) SE Runtime Environment, 1.8.0_77-b03 OS: Windows XP User Comments: ecerichter: Using macro expansion for catch clause. GUEST: editing jsp file GUEST: Aparecio una excepcion ecerichter: I was using macro expansion in JSP page. I've typed } ca| then hit "Tab" in order to complete the "catch(Exception ex)" as macro expansion. Stacktrace: java.lang.NullPointerException at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createTaggedCompilationController(JavaSource.java:715) 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:1089) at org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:102)
Created attachment 159588 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=220248
Fixed jet-main 7390ef7402dc