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 179016

Summary: NullPointerException at javax.swing.JFileChooser.updateUI
Product: apisupport Reporter: xtecuan <xtecuan>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 163894
Attachments: stacktrace

Description xtecuan 2009-12-24 00:47:32 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Linux, 2.6.31-ARCH, i386

Stacktrace: 
java.lang.NullPointerException
   at javax.swing.JFileChooser.updateUI(JFileChooser.java:1765)
   at javax.swing.JFileChooser.setup(JFileChooser.java:360)
   at javax.swing.JFileChooser.<init>(JFileChooser.java:333)
   at javax.swing.JFileChooser.<init>(JFileChooser.java:286)
   at org.netbeans.modules.apisupport.project.ui.UIUtil$IconFileChooser.<init>(UIUtil.java:846)
   at org.netbeans.modules.apisupport.project.ui.UIUtil$IconFileChooser.<init>(UIUtil.java:844)
Comment 1 xtecuan 2009-12-24 00:47:38 UTC
Created attachment 92898 [details]
stacktrace
Comment 2 Jesse Glick 2010-02-04 15:53:35 UTC
Root problem is

INFO [org.netbeans.JarClassLoader]: Cannot open /home/xtecuan/java/netbeans-6.8/ide12/modules/org-netbeans-swing-dirchooser.jar
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
	at java.util.jar.JarFile.<init>(JarFile.java:133)
	at java.util.jar.JarFile.<init>(JarFile.java:112)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:443)

which could be a corrupt NB installation, perhaps.