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 - NullPointerException at com.sun.tools.javac.code.Types$14.visitClassType(Types.java:1315)
Summary: NullPointerException at com.sun.tools.javac.code.Types$14.visitClassType(Type...
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:
Keywords:
: 146789 (view as bug list)
Depends on:
Blocks: 152191
  Show dependency tree
 
Reported: 2008-08-21 22:57 UTC by yosaba
Modified: 2009-02-19 21:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file from NPE (101.60 KB, text/plain)
2008-08-21 22:58 UTC, yosaba
Details

Note You need to log in before you can comment on or make changes to this bug.
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.