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 - NullPointerException at javax.swing.JFileChooser.updateUI
Summary: NullPointerException at javax.swing.JFileChooser.updateUI
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 00:47 UTC by xtecuan
Modified: 2010-02-04 15:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 163894


Attachments
stacktrace (6.06 KB, text/plain)
2009-12-24 00:47 UTC, xtecuan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.