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 87917 - AIOOBE from sun.awt.shell.Win32ShellFolder2.getFileChooserIcon
Summary: AIOOBE from sun.awt.shell.Win32ShellFolder2.getFileChooserIcon
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: HP Windows 7
: P2 blocker (vote)
Assignee: issues@platform
URL: http://statistics.netbeans.org/analyt...
Keywords: JDK_SPECIFIC
: 87473 88194 88465 89057 89705 89753 90852 92653 152742 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-25 01:20 UTC by davis1907
Modified: 2012-05-16 06:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
netbeans over windows vista; file open dialog (73.68 KB, application/octet-stream)
2006-10-25 01:22 UTC, davis1907
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davis1907 2006-10-25 01:20:42 UTC
java.lang.ArrayIndexOutOfBoundsException: 3184
	at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon
(Win32ShellFolder2.java:748)
	at sun.awt.shell.Win32ShellFolderManager2.get
(Win32ShellFolderManager2.java:248)
	at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
	at 
com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue
(WindowsLookAndFeel.java:1873)
	at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)
	at javax.swing.UIDefaults.get(UIDefaults.java:130)
	at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
	at javax.swing.UIDefaults.getIcon(UIDefaults.java:411)
	at javax.swing.UIManager.getIcon(UIManager.java:613)
	at javax.swing.plaf.basic.BasicFileChooserUI.installIcons
(BasicFileChooserUI.java:237)
	at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults
(BasicFileChooserUI.java:219)
	at javax.swing.plaf.basic.BasicFileChooserUI.installUI
(BasicFileChooserUI.java:135)
	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI
(WindowsFileChooserUI.java:126)
	at javax.swing.JComponent.setUI(JComponent.java:652)
	at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755)
	at javax.swing.JFileChooser.setup(JFileChooser.java:366)
	at javax.swing.JFileChooser.<init>(JFileChooser.java:332)
	at javax.swing.JFileChooser.<init>(JFileChooser.java:285)
	at org.netbeans.modules.openfile.FileChooser.<init>
(FileChooser.java:44)
	at org.netbeans.modules.openfile.OpenFileAction.prepareFileChooser
(OpenFileAction.java:66)
	at org.netbeans.modules.openfile.OpenFileAction.performAction
(OpenFileAction.java:106)
	at org.openide.util.actions.CallableSystemAction$1.run
(CallableSystemAction.java:100)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction
(ActionsBridge.java:53)
	at org.openide.util.actions.CallableSystemAction.actionPerformed
(CallableSystemAction.java:96)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1000)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
(BasicMenuItemUI.java:1041)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1778)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 davis1907 2006-10-25 01:22:38 UTC
Created attachment 35512 [details]
netbeans over  windows vista; file open dialog
Comment 2 Marian Mirilovic 2006-10-25 08:27:44 UTC
JDK bug - fixed in JDK 6.0 (b96) :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6449933
Comment 3 Marian Mirilovic 2006-11-21 09:01:03 UTC
*** Issue 87473 has been marked as a duplicate of this issue. ***
Comment 4 Marian Mirilovic 2006-11-21 09:01:36 UTC
*** Issue 88465 has been marked as a duplicate of this issue. ***
Comment 5 Marian Mirilovic 2006-11-21 09:02:18 UTC
*** Issue 88194 has been marked as a duplicate of this issue. ***
Comment 6 Marian Mirilovic 2006-11-21 09:03:34 UTC
*** Issue 89057 has been marked as a duplicate of this issue. ***
Comment 7 Marian Mirilovic 2006-11-21 09:04:11 UTC
*** Issue 89705 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2006-11-21 14:21:34 UTC
*** Issue 89753 has been marked as a duplicate of this issue. ***
Comment 9 Marian Mirilovic 2006-12-11 08:52:31 UTC
verified
Comment 10 Marian Mirilovic 2006-12-11 08:53:43 UTC
*** Issue 90852 has been marked as a duplicate of this issue. ***
Comment 11 Marian Mirilovic 2007-01-17 08:59:39 UTC
*** Issue 92653 has been marked as a duplicate of this issue. ***
Comment 12 Ondrej Vrabec 2009-03-20 15:10:02 UTC
*** Issue 152742 has been marked as a duplicate of this issue. ***
Comment 13 ewyss 2009-05-19 04:29:27 UTC
This error happens when I want to add a plugin or libraries.
Comment 14 Marian Mirilovic 2009-06-05 13:05:43 UTC
225 duplicates and still coming ... mentioned JDK issue was fixed long time ago and reports are coming also for newer
JDKs ...
http://statistics.netbeans.org/analytics/detail.do?id=132937

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6449933
Comment 15 David Simonek 2009-06-09 10:36:07 UTC
mmirilovic, you probably overlooked that http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6449933 contains link to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6489447 which is about applying more robust fix from 1.5.0_x to
1.6.x.  And this one is *not* fixed, that's probably why it still bites Netbeans users. I tried to rise priority of
6489447 and put some more comments and justifications in it. I believe it's all we can do.
Comment 16 Marian Mirilovic 2009-06-09 11:38:50 UTC
> I tried to rise priority of 6489447 and put some more comments and justifications in it. I believe it's all we can do.

Dafe, thanks a lot for re-evaluation.
Comment 17 Stanislav Aubrecht 2012-05-14 09:08:22 UTC
atulbuddy@netbeans.org, please open a bug and do not reopen this one.
Comment 18 atulbuddy 2012-05-15 06:56:57 UTC
> atulbuddy@netbeans.org, please open a bug and do not reopen this one.

would u plz tell me steps to open a bug or to rectify this problem........
thnx
Comment 19 Marian Mirilovic 2012-05-15 07:43:01 UTC
(In reply to comment #18)
> would u plz tell me steps to open a bug or to rectify this problem........
> thnx

Please follow http://wiki.netbeans.org/IssueReportingGuidelines when reporting new issue. 

BUT .. this is an JDK issue, so I am not sure we will be even able to do anything about that.
Comment 20 atulbuddy 2012-05-16 06:15:04 UTC
> (In reply to comment #18)
> > would u plz tell me steps to open a bug or to rectify this problem........
> > thnx
> Please follow http://wiki.netbeans.org/IssueReportingGuidelines when reporting new issue. 
> BUT .. this is an JDK issue, so I am not sure we will be even able to do anything about that.


so if change to any other jdk version of java, can it be rectified, if yes then plz tell me whch version shld i use??

thnx again