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 141522

Summary: [65cat] NullPointerException at com.sun.tools.javac.comp.Lower.visitNewClass
Product: java Reporter: substance <substance>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker CC: fernandotakai, schiewe
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=73821
Issue Type: DEFECT Exception Reporter: 73821
Bug Depends on:    
Bug Blocks: 152191    
Attachments: stacktrace
stacktrace

Description substance 2008-07-24 12:17:35 UTC
Build: NetBeans IDE Dev (Build 200807240010)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 
I changed project properties (profile) and the tried to rebuild the project.

Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2325)
        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:1916)
        at com.sun.tools.javac.tree.TreeTranslator.visitThrow(TreeTranslator.java:260)
        at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1242)
Comment 1 Peter Pis 2008-07-28 12:38:51 UTC
Reassigning to "java".
Comment 2 sunbiz 2008-08-04 01:41:47 UTC
Build: NetBeans IDE Dev (Build 080804)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
Creating Mobility Sample project (SVG Contact List) and got this exception

Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2325)
        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:1916)
        at com.sun.tools.javac.tree.TreeTranslator.visitThrow(TreeTranslator.java:260)
        at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1242)
Comment 3 sunbiz 2008-08-04 01:41:56 UTC
Created attachment 66427 [details]
stacktrace
Comment 4 substance 2008-08-10 20:27:52 UTC
Build: NetBeans IDE Dev (Build 200808100201)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05-237
OS: Mac OS X, 10.5.4, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2325)
        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:1916)
        at com.sun.tools.javac.tree.TreeTranslator.visitThrow(TreeTranslator.java:260)
        at com.sun.tools.javac.tree.JCTree$JCThrow.accept(JCTree.java:1242)
Comment 5 substance 2008-08-10 20:28:01 UTC
Created attachment 66976 [details]
stacktrace
Comment 6 Exceptions Reporter 2008-11-30 20:44:28 UTC
This issue has already 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=73821
Comment 7 Dusan Balek 2008-12-03 13:16:37 UTC
Should be fixed together with issue #143377.