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 130594 - NPE from Attr.attribClass
Summary: NPE from Attr.attribClass
Status: RESOLVED DUPLICATE of bug 129774
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: 2008-03-19 23:03 UTC by Jesse Glick
Modified: 2008-03-25 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 38530


Attachments
Dump file (13.09 KB, text/plain)
2008-03-19 23:03 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-03-19 23:03:14 UTC
Build: NetBeans IDE Dev (Build 080318)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386
User comments: Editing a source file with a lot of (semantic) errors I was ignoring for the time being.
STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2685)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2641)
        at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1064)
        at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1040)
        at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:437)
        at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:417)
        at org.netbeans.api.java.source.JavaSource.moveToPhase(JavaSource.java:1308)
        at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1642)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
Comment 1 Jesse Glick 2008-03-19 23:03:38 UTC
Created attachment 58709 [details]
Dump file
Comment 2 Jesse Glick 2008-03-19 23:04:27 UTC
Using cd682bec7906, by the way.
Comment 3 Dusan Balek 2008-03-25 14:05:36 UTC
Already reported. Thanks.

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