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 252661 - NullPointerException at com.sun.tools.javac.code.Scope.leave
Summary: NullPointerException at com.sun.tools.javac.code.Scope.leave
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-28 19:22 UTC by _ gtzabari
Modified: 2015-07-24 01:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217591


Attachments
stacktrace (3.13 KB, text/plain)
2015-05-28 19:22 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-05-28 19:22:56 UTC
Build: NetBeans IDE Dev (Build 201505270357)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
gtzabari: F8 (step over). Exception thrown.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Scope.leave(Scope.java:152)
   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1132)
   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:82)
   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:915)
   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:572)
   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:641)
Comment 1 _ gtzabari 2015-05-28 19:22:57 UTC
Created attachment 153930 [details]
stacktrace
Comment 3 Quality Engineering 2015-07-24 01:19:02 UTC
Integrated into 'main-silver', will be available in build *201507240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5717bab8dff2
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #246934 and #252661 fixed.