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 197054 - NullPointerException at javax.swing.JLabel.setIcon
Summary: NullPointerException at javax.swing.JLabel.setIcon
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 17:48 UTC by barichd
Modified: 2011-04-06 08:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177889


Attachments
stacktrace (3.00 KB, text/plain)
2011-03-24 17:48 UTC, barichd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description barichd 2011-03-24 17:48:27 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows XP

User Comments:
barichd: I was in the Services wind		ow and tried to open an Oracle XE database connection, and then the exception occurred.




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.JLabel.setIcon(JLabel.java:384)
   at org.openide.explorer.view.NodeRenderer.configureFrom(NodeRenderer.java:229)
   at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:146)
   at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2712)
   at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
   at javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:535)
Comment 1 barichd 2011-03-24 17:48:31 UTC
Created attachment 107252 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-03-25 06:36:54 UTC
Probably problem in databases support. To make sure who's providing null icon, I am adding a diagnostic check: ergonomics:a0a0e19a258c
Comment 3 Quality Engineering 2011-04-06 08:45:49 UTC
Integrated into 'main-golden', will be available in build *201104060400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a0a0e19a258c
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #197054: Annotate NPE with additional details