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 191517 - NullPointerException at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$5.focusGained
Summary: NullPointerException at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$...
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:
: 196862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-01 13:42 UTC by 007pig
Modified: 2011-06-09 09:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166612


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 007pig 2010-11-01 13:42:48 UTC
Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
007pig: Run File->Save as...

GUEST: Editing a text file. I had four other tabs open (two to .java files, two to .properties files). I noticed the text file tab locked up. I went to Save just in case, but hit Save As instead and this occurred after I hit Cancel from the Save As conversation.

GUEST: File->Save As




Stacktrace: 
java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$5.focusGained(WindowsFileChooserUI.java:430)
   at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203)
   at java.awt.Component.processFocusEvent(Component.java:6156)
   at java.awt.Component.processEvent(Component.java:6023)
   at java.awt.Container.processEvent(Container.java:2041)
   at java.awt.Component.dispatchEventImpl(Component.java:4630)
Comment 1 Ondrej Vrabec 2011-03-03 10:23:00 UTC
seems to be a JDK bug: 6816582, fixed in JDK7: http://hg.openjdk.java.net/jdk7/build/jdk/rev/a2c3278c377c
Comment 2 Marian Mirilovic 2011-06-09 09:20:18 UTC
*** Bug 196862 has been marked as a duplicate of this bug. ***
Comment 3 Marian Mirilovic 2011-06-09 09:23:37 UTC
Fixed in JDK 7.0 build 118