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 160707 - NullPointerException at com.sun.tools.javac.comp.Enter.shadowTypeEnvs
Summary: NullPointerException at com.sun.tools.javac.comp.Enter.shadowTypeEnvs
Status: RESOLVED DUPLICATE of bug 159903
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 09:44 UTC by holyice
Modified: 2009-03-20 12:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 147922


Attachments
stacktrace (1.28 KB, text/plain)
2009-03-20 09:44 UTC, holyice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description holyice 2009-03-20 09:44:34 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Enter.shadowTypeEnvs(Enter.java:253)
        at com.sun.tools.javac.api.JavacTrees.attribStatToTree(JavacTrees.java:301)
        at com.sun.tools.javac.api.JavacTrees.getAttrContext(JavacTrees.java:274)
        at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:192)
        at com.sun.tools.javac.api.JavacTrees.getScope(JavacTrees.java:84)
        at org.netbeans.api.java.source.TreeUtilities.scopeFor(TreeUtilities.java:444)
Comment 1 holyice 2009-03-20 09:44:44 UTC
Created attachment 78497 [details]
stacktrace
Comment 2 Dusan Balek 2009-03-20 12:21:47 UTC
Already fixed.

*** This issue has been marked as a duplicate of 159903 ***