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

Summary: NullPointerException at com.sun.tools.javac.comp.Lower.visitNewClass
Product: java Reporter: xylifyx <xylifyx>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker CC: minashokry, xylifyx
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=151259
Issue Type: DEFECT Exception Reporter: 151259
Attachments: stacktrace
stacktrace

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).