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 240908 - NullPointerException at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth
Summary: NullPointerException at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon....
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-24 03:13 UTC by fortruth
Modified: 2014-01-24 06:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 177210


Attachments
stacktrace (6.23 KB, text/plain)
2014-01-24 03:13 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fortruth 2014-01-24 03:13:14 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
GUEST: opening project

fortruth: when right click to open a project in Project View

GUEST: trying to open a project from file




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth(MetalFileChooserUI.java:890)
   at javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:959)
   at javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:886)
   at javax.swing.plaf.basic.BasicLabelUI.layoutCL(BasicLabelUI.java:94)
   at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:238)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1651)
Comment 1 fortruth 2014-01-24 03:13:15 UTC
Created attachment 144329 [details]
stacktrace
Comment 2 Milos Kleint 2014-01-24 06:39:11 UTC
saubrecht: appears to be an issue in metal l&f, jdk issue?
Comment 3 fortruth 2014-01-24 06:50:11 UTC
It not happens always, till now. I just meet one time.