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 257330 - NullPointerException at com.sun.tools.javac.comp.Resolve.findVar
Summary: NullPointerException at com.sun.tools.javac.comp.Resolve.findVar
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-29 14:35 UTC by misterm
Modified: 2016-03-29 09:40 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221885


Attachments
stacktrace (8.90 KB, text/plain)
2015-12-29 14:35 UTC, misterm
Details
stacktrace (7.94 KB, text/plain)
2016-02-01 11:09 UTC, Miloslav Metelka
Details
stacktrace (6.90 KB, text/plain)
2016-02-10 08:46 UTC, ehsavoie
Details
stacktrace (6.01 KB, text/plain)
2016-02-20 13:40 UTC, Alexander Simon
Details
stacktrace (6.38 KB, text/plain)
2016-03-01 14:11 UTC, Alexander Simon
Details
stacktrace (11.94 KB, text/plain)
2016-03-07 16:29 UTC, Exceptions Reporter
Details
stacktrace (3.13 KB, text/plain)
2016-03-19 19:59 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2015-12-29 14:35:15 UTC
Build: NetBeans IDE Dev (Build 20151221-696aae8db0de)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 8.1

User Comments:
misterm: .




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Resolve.findVar(Resolve.java:1393)
   at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:2119)
   at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:2352)
   at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3493)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2194)
   at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:494)
Comment 1 misterm 2015-12-29 14:35:17 UTC
Created attachment 157945 [details]
stacktrace
Comment 2 Miloslav Metelka 2016-02-01 11:09:44 UTC
Created attachment 158329 [details]
stacktrace

Editing a new code in editor.lib2. The indexing throws exceptions even when scanning various modules not edited by me so this is imho not related to sources being broken by editing.
Comment 3 Miloslav Metelka 2016-02-01 11:20:26 UTC
Raising to P2 since once the IDE scans the sources and the exceptions rise one by one there's so many of them that it's impossible to work reasonably.
Comment 4 ehsavoie 2016-02-10 08:46:48 UTC
Created attachment 158445 [details]
stacktrace

Navigating in the code
Comment 5 Alexander Simon 2016-02-20 13:40:50 UTC
Created attachment 158582 [details]
stacktrace

e
Comment 6 Alexander Simon 2016-03-01 14:11:23 UTC
Created attachment 158692 [details]
stacktrace

update pr
Comment 7 Exceptions Reporter 2016-03-07 16:29:22 UTC
Created attachment 158773 [details]
stacktrace

.
Comment 8 muellermi 2016-03-19 19:59:27 UTC
Created attachment 158927 [details]
stacktrace

cut and pasted code
Comment 9 Dusan Balek 2016-03-29 09:40:05 UTC
Should be fixed together with #256995