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 259173 - NullPointerException at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.createTaggedCompilationController
Summary: NullPointerException at org.netbeans.api.java.source.JavaSource$JavaSourceAcc...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 18:30 UTC by Exceptions Reporter
Modified: 2016-06-08 08:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220248


Attachments
stacktrace (2.15 KB, text/plain)
2016-05-09 18:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-05-09 18:30:44 UTC
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)
Comment 1 Exceptions Reporter 2016-05-09 18:30:57 UTC
Created attachment 159588 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-05-10 03:09:28 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=220248
Comment 3 Tomas Zezula 2016-06-08 08:23:27 UTC
Fixed jet-main 7390ef7402dc