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 144800

Summary: NullPointerException at com.sun.tools.javac.code.Types$14.visitClassType(Types.java:1315)
Product: java Reporter: yosaba <yosaba>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152191    
Attachments: Log file from NPE

Description yosaba 2008-08-21 22:57:15 UTC
I got a Null Pointer Exception when trying to find usages of a particular static boolean variable.  The dialog I was
presented with said to include the var/log/messages.log file.
Comment 1 yosaba 2008-08-21 22:58:16 UTC
Created attachment 68070 [details]
Log file from NPE
Comment 2 Jan Becicka 2008-08-22 09:18:41 UTC
Caused: java.lang.NullPointerException
	at com.sun.tools.javac.code.Types$14.visitClassType(Types.java:1315)
	at com.sun.tools.javac.code.Types$14.visitClassType(Types.java:1336)
	at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:568)
	at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:3203)
	at com.sun.tools.javac.code.Types.asSuper(Types.java:1295)
	at com.sun.tools.javac.code.Types$14.visitClassType(Types.java:1311)
Comment 3 Jana Maleckova 2008-09-10 15:34:01 UTC
*** Issue 146789 has been marked as a duplicate of this issue. ***
Comment 4 Dusan Balek 2008-11-26 13:51:22 UTC
Fixed.

changeset ecb31afafbcc in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=ecb31afafbcc
changeset 09ff15e4aad6 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=09ff15e4aad6
Comment 5 Quality Engineering 2008-11-27 05:30:37 UTC
Integrated into 'main-golden', will be available in build *200811270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/09ff15e4aad6
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #117148, #142224, #142829, #144800, #147851, and #146205 fixed.