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 90923 - NPE from JavaNode.enhanceIcon when accessing class node
Summary: NPE from JavaNode.enhanceIcon when accessing class node
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 08:20 UTC by Jiri Skrivanek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (6.35 KB, text/plain)
2006-12-12 08:20 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-12-12 08:20:17 UTC
NullPoiterException is repeatedly thrown when you try to expand the classes node
in the Files view. It seems to be related to the commit below. To reproduce:

- create a Java application project
- build the project
- go to Files view
- expand node 'JavaApplication1|build|classes|javaapplication1' and exception is
thrown in a loop.


2006-12-11 09:45  jlahoda

	* java/source/src/org/netbeans/modules/java/: JavaNode.java,
	resources/needs-compile.gif:
	 #88103: adding needs compilation badge to the JavaNode.
Comment 1 Jiri Skrivanek 2006-12-12 08:20:47 UTC
Created attachment 36607 [details]
Stack trace
Comment 2 Jan Lahoda 2006-12-12 08:31:33 UTC
Oops, sorry, should be fixed:
Checking in JavaNode.java;
/cvs/java/source/src/org/netbeans/modules/java/JavaNode.java,v  <--  JavaNode.java
new revision: 1.7; previous revision: 1.6
done
Comment 3 Jiri Skrivanek 2006-12-12 11:27:06 UTC
Verified.