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 195804 - NullPointerException at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth
Summary: NullPointerException at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon....
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 13:34 UTC by ehsavoie
Modified: 2011-06-09 19:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 148961


Attachments
stacktrace (5.43 KB, text/plain)
2011-02-22 13:34 UTC, ehsavoie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsavoie 2011-02-22 13:34:16 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6691-on-110220)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
GUEST: Error occured while I was trying to open existing project. In background I had two opened projects.

GUEST: I clicked on the Open Project button.

GUEST: Trying to create a new Ruby on Rails project with existing sources. Clicked New Project button, window opened but didn't get selection menu to choose between new Rails project or existing sources. Also clicked open existing project button but nothing happens.




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth(MetalFileChooserUI.java:878)
   at javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:943)
   at javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:870)
   at javax.swing.plaf.basic.BasicLabelUI.layoutCL(BasicLabelUI.java:76)
   at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:221)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)
Comment 1 ehsavoie 2011-02-22 13:34:26 UTC
Created attachment 106286 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-06-09 19:04:08 UTC
Fixed in JDk7 b128
Comment 3 Marian Mirilovic 2011-06-09 19:04:24 UTC
v/c