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 262805 - NullPointerException at com.sun.tools.javac.comp.Check.clearLocalClassNameIndexes
Summary: NullPointerException at com.sun.tools.javac.comp.Check.clearLocalClassNameInd...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 20:16 UTC by sreimers
Modified: 2017-06-27 20:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225217


Attachments
stacktrace (9.30 KB, text/plain)
2016-07-13 20:16 UTC, sreimers
Details
stacktrace (8.91 KB, text/plain)
2016-08-25 14:15 UTC, markiewb
Details
stacktrace (9.30 KB, text/plain)
2016-09-12 11:24 UTC, skygo
Details
stacktrace (11.46 KB, text/plain)
2017-01-31 23:51 UTC, Exceptions Reporter
Details
stacktrace (11.46 KB, text/plain)
2017-01-31 23:54 UTC, Exceptions Reporter
Details
stacktrace (14.77 KB, text/plain)
2017-06-15 16:37 UTC, javydreamercsw
Details
stacktrace (14.77 KB, text/plain)
2017-06-27 20:34 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2016-07-13 20:16:14 UTC
Build: NetBeans IDE Dev (Build 201607120002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.76-b04, Java(TM) SE Runtime Environment, 1.8.0_76-ea-b04
OS: Mac OS X

User Comments:
sreimers: Building in the terminal while netbeans project open




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Check.clearLocalClassNameIndexes(Check.java:448)
   at com.sun.tools.javac.comp.DeferredAttr$UnenterScanner.visitClassDef(DeferredAttr.java:483)
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:748)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at com.sun.tools.javac.tree.TreeScanner.visitNewClass(TreeScanner.java:211)
   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1659)
Comment 1 sreimers 2016-07-13 20:16:16 UTC
Created attachment 160378 [details]
stacktrace
Comment 2 markiewb 2016-08-25 14:15:33 UTC
Created attachment 161764 [details]
stacktrace

???
Comment 3 skygo 2016-09-12 11:24:50 UTC
Created attachment 162011 [details]
stacktrace

compiling netbeans from sorce on cli with module opened in netbeans 20160912
Comment 4 Exceptions Reporter 2016-12-08 22:39:44 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=225217
Comment 5 Exceptions Reporter 2017-01-31 23:51:22 UTC
Created attachment 163523 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>xzcx
Comment 6 Exceptions Reporter 2017-01-31 23:54:22 UTC
Created attachment 163524 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>sad
Comment 7 javydreamercsw 2017-06-15 16:37:22 UTC
Created attachment 164549 [details]
stacktrace

Not sure what triggered.
Comment 8 javydreamercsw 2017-06-27 20:34:32 UTC
Created attachment 164644 [details]
stacktrace

Compiling Maven project on an empty .m2 folder.