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 165317 - NullPointerException at com.sun.tools.javac.comp.Lower.visitNewClass
Summary: NullPointerException at com.sun.tools.javac.comp.Lower.visitNewClass
Status: RESOLVED FIXED
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-05-15 22:35 UTC by xylifyx
Modified: 2009-06-17 16:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151259


Attachments
stacktrace (5.92 KB, text/plain)
2009-05-15 22:35 UTC, xylifyx
Details
stacktrace (5.62 KB, text/plain)
2009-05-19 21:01 UTC, xylifyx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xylifyx 2009-05-15 22:35:06 UTC
This issue was originally marked as duplicate of issue 141522, that is already fixed. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
xylifyx: added some files manually to a mobility project, happened when they were auto compiled



Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2387)
        at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.Lower.translate(Lower.java:1919)
        at com.sun.tools.javac.tree.TreeTranslator.visitThrow(TreeTranslator.java:260)
        at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1241)
Comment 1 xylifyx 2009-05-15 22:35:12 UTC
Created attachment 82230 [details]
stacktrace
Comment 2 xylifyx 2009-05-19 21:01:21 UTC
This issue was originally marked as duplicate of issue 141522, that is already fixed. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
starting netbeans

Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2387)
        at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1350)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.Lower.translate(Lower.java:1919)
        at com.sun.tools.javac.tree.TreeTranslator.visitThrow(TreeTranslator.java:260)
        at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1241)
Comment 3 xylifyx 2009-05-19 21:01:34 UTC
Created attachment 82424 [details]
stacktrace
Comment 4 Dusan Balek 2009-05-21 09:35:26 UTC
Should be fixed in current dev build (together with #164415).