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

Summary: NullPointerException at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth
Product: platform Reporter: fortruth <fortruth>
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177210
Attachments: stacktrace

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.