Menu

#26 ArrayIndexOutOfBoundsException when clicking on MovieCover

closed-works-for-me
Bro
5
2007-01-09
2006-10-28
Anonymous
No

When clicking on the moviecover in the edit window, to
change the picture, nothing happens. In the log file,
the following exception is logged:

ERROR
net.sf.xmm.moviemanager.DialogMovieInfo.executeCommandC
over(DialogMovieInfo.java:1747)

java.lang.ArrayIndexOutOfBoundsException: 3184
at
sun.awt.shell.Win32ShellFolder2.getFileChooserIcon
(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.get
(Unknown Source)
at sun.awt.shell.ShellFolder.get(Unknown
Source)
at
com.sun.java.swing.plaf.windows.WindowsLookAndFeel$Lazy
WindowsIcon.createValue(Unknown Source)
at javax.swing.UIDefaults.getFromHashtable
(Unknown Source)
at javax.swing.UIDefaults.get(Unknown Source)
at javax.swing.MultiUIDefaults.get(Unknown
Source)
at javax.swing.UIDefaults.getIcon(Unknown
Source)
at javax.swing.UIManager.getIcon(Unknown
Source)
at
javax.swing.plaf.basic.BasicFileChooserUI.installIcons
(Unknown Source)
at
javax.swing.plaf.basic.BasicFileChooserUI.installDefaul
ts(Unknown Source)
at
javax.swing.plaf.basic.BasicFileChooserUI.installUI
(Unknown Source)
at
com.sun.java.swing.plaf.windows.WindowsFileChooserUI.in
stallUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JFileChooser.updateUI(Unknown
Source)
at javax.swing.JFileChooser.setup(Unknown
Source)
at javax.swing.JFileChooser.<init>(Unknown
Source)
at javax.swing.JFileChooser.<init>(Unknown
Source)
at
net.sf.xmm.moviemanager.extentions.ExtendedFileChooser.
<init>(ExtendedFileChooser.java:61)
at
net.sf.xmm.moviemanager.DialogMovieInfo.executeCommandC
over(DialogMovieInfo.java:1709)
at
net.sf.xmm.moviemanager.DialogMovieInfo.access$300
(DialogMovieInfo.java:55)
at
net.sf.xmm.moviemanager.DialogMovieInfo$8.mouseClicked
(DialogMovieInfo.java:452)
at java.awt.Component.processMouseEvent
(Unknown Source)
at javax.swing.JComponent.processMouseEvent
(Unknown Source)
at java.awt.Component.processEvent(Unknown
Source)
at java.awt.Container.processEvent(Unknown
Source)
at java.awt.Component.dispatchEventImpl
(Unknown Source)
at java.awt.Container.dispatchEventImpl
(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Unknown Source)
at
java.awt.LightweightDispatcher.processMouseEvent
(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent
(Unknown Source)
at java.awt.Container.dispatchEventImpl
(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown
Source)
at java.awt.Component.dispatchEvent(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters
(Unknown Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter
(Unknown Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter
(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged
(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown
Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at net.sf.xmm.moviemanager.util.ShowGUI$1.run
(ShowGUI.java:36)
at java.awt.event.InvocationEvent.dispatch
(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown
Source)
at
java.awt.EventDispatchThread.pumpOneEventForFilters
(Unknown Source)
at
java.awt.EventDispatchThread.pumpEventsForFilter
(Unknown Source)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy
(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents
(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents
(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown
Source)

I'm using JDK6.0 Beta 2 on Windows Vista build 5744

All the best,

Kris

Discussion

  • Bro

    Bro - 2006-10-29

    Logged In: YES
    user_id=840074

    Hi

    I see you're using the Windows Vista and Windows L&F, so I presume there is a bug in Sun's JRE for Vista.
    Can this be reproduced on other OS's that aren't beta?

    Thanks for the report!

    Bro

     
  • Kris Senden

    Kris Senden - 2006-10-31

    Logged In: YES
    user_id=1385853

    Hello,

    I've tested this with Windows XP Service Pack 2 and JDK6.0 Beta 2 and could not reproduce the behavior.
    However, the strange thing is that when running straight from the sources using Eclipse 3.2 I've had no problems
    under Windows Vista.

    Maybe there's indeed a problem with Sun's JRE under Vista.

    Thanks anyway,

    Kris

     
  • Bro

    Bro - 2007-01-09

    Logged In: YES
    user_id=840074
    Originator: NO

    Hi

    I've tested with the latest JRE6 on Vista and I could not reproduce the issue.
    Probably fixed by sun.

    Bro

     
  • Bro

    Bro - 2007-01-09
    • assigned_to: nobody --> bro3
    • status: open --> closed-works-for-me
     
Auth0 Logo