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 201317

Summary: NullPointerException at com.sun.tools.javac.code.Type$ClassType.toString
Product: java Reporter: bht <bht>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: gilbertoca, jmichelberger, Leperous
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 180763
Attachments: stacktrace
stacktrace
stacktrace

Description bht 2011-08-25 11:15:22 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 2000

User Comments:
bht: During startup after deleting var\cache\index




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Type$ClassType.toString(Type.java:604)
   at java.lang.String.valueOf(String.java:2826)
   at java.lang.StringBuilder.append(StringBuilder.java:115)
   at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:614)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1326)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
Comment 1 bht 2011-08-25 11:15:26 UTC
Created attachment 110202 [details]
stacktrace
Comment 2 bht 2011-08-26 01:06:05 UTC
Please refer to bug 201324
Comment 3 Exceptions Reporter 2011-10-03 19:29:52 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=180763
Comment 4 jmichelberger 2011-10-05 07:20:48 UTC
Created attachment 111498 [details]
stacktrace
Comment 5 Exceptions Reporter 2011-10-21 12:09:04 UTC
Created attachment 112301 [details]
stacktrace
Comment 7 Quality Engineering 2012-05-25 05:44:34 UTC
Integrated into 'main-golden', will be available in build *201205250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7ae576ddf660
User: Dusan Balek <dbalek@netbeans.org>
Log: NPEs fixed (see issues #126271, #178114, #192723, #194758, #196863, #199921, #200555, #201317, #202443, #206760, #207651, and #210936).