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

Summary: NullPointerException at javax.swing.JLabel.setIcon
Product: platform Reporter: barichd
Component: ExplorerAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jrechtacek
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177889
Attachments: stacktrace

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