If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#2363 Mulitple GUI buttons produce an 'AWT-EventQueue-0' exception
Author:
basquet

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GUI
State: closed 

> What steps will reproduce the problem?
Multiple buttons, such as 'Open...', 'Save as...', and 'Export to FLA' produce an
'AWT-EventQueue-0' exception once clicked upon starting the program.
> What is the expected output? What do you see instead?
Expected output is that buttons will execute their relevant functions/open a new GUI once
clicked,
rather they do nothing other than produce the error in the log
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
21.1.3, however this error persists across other versions
OS: Windows 10
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Problems persist regardless if a SWF is loaded or not
Error for 'Open...' button:
04/11/2024 03:50:17 SEVERE Uncaught exception in thread: AWT-EventQueue-0
java.lang.NullPointerException: Cannot invoke
"java.awt.Image.getWidth(java.awt.image.ImageObserver)" because "retVal" is null
at
java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolutionIconImage.getResolutionVariant
(Win32ShellFolder2.java:1459)
at
java.desktop/sun.awt.shell.Win32ShellFolder2$MultiResolutionIconImage.getBaseImage(Win32Sh
ellFolder2.java:1438)
at
java.desktop/java.awt.image.AbstractMultiResolutionImage.getProperty(AbstractMultiResoluti
onImage.java:140)
at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:255)
at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:241)
at
java.desktop/javax.swing.filechooser.FileSystemView.getSystemIcon(FileSystemView.java:252)
at
org.pushingpixels.substance.internal.ui.SubstanceFileChooserUI$SubstanceFileView.getDefaul
tIcon(SubstanceFileChooserUI.java:145)
at
org.pushingpixels.substance.internal.ui.SubstanceFileChooserUI$SubstanceFileView.getIcon(S
ubstanceFileChooserUI.java:96)
at java.desktop/javax.swing.JFileChooser.getIcon(JFileChooser.java:1613)
at
java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxRenderer.getListCe
llRendererComponent(MetalFileChooserUI.java:949)
at
java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1444)
at
java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:13
94)
at
java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2815
)
at
java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionMo
del.java:231)
at
java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionMo
del.java:206)
at
java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionMo
del.java:258)
at
java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionMod
el.java:459)
at
java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionMod
el.java:469)
at
java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelecti
onModel.java:513)
at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:2232)
at
java.desktop/javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:
1281)
at
java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(BasicComboPop
up.java:1097)
at java.desktop/javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1257)
at java.desktop/javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1318)
at java.desktop/javax.swing.JComboBox.contentsChanged(JComboBox.java:1365)
at
java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:127)
at
java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.setSelectedI
tem(MetalFileChooserUI.java:1104)
at
java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem(Meta
lFileChooserUI.java:1069)
at
java.desktop/javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged(MetalFileChooser
UI.java:719)
at
java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$5.propertyChange(MetalFileChooserUI
.java:808)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
at
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.jav
a:335)
at
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.jav
a:268)
at java.desktop/java.awt.Component.firePropertyChange(Component.java:8717)
at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:610)
at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:364)
at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:310)
at com.jpexs.decompiler.flash.gui.View$3.<init>(View.java:955)
at com.jpexs.decompiler.flash.gui.View.getFileChooserWithIcon(View.java:955)
at com.jpexs.decompiler.flash.gui.Main.openFileDialog(Main.java:2226)
at
com.jpexs.decompiler.flash.gui.MainFrameMenu.openActionPerformed(MainFrameMenu.java:139)
at
org.pushingpixels.flamingo.api.common.AbstractCommandButton.fireActionPerformed(AbstractCo
mmandButton.java:616)
at
org.pushingpixels.flamingo.api.common.AbstractCommandButton$ActionHandler.actionPerformed(
AbstractCommandButton.java:568)
at
java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:40
7)
at
org.pushingpixels.flamingo.api.common.model.ActionRepeatableButtonModel.setPressed(ActionR
epeatableButtonModel.java:123)
at
org.pushingpixels.flamingo.internal.ui.common.BasicCommandButtonListener.mouseReleased(Bas
icCommandButtonListener.java:147)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6621)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Pr
otectionDomain.java:87)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Pr
otectionDomain.java:98)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Pr
otectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124
)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
It's probably caused by this bug in Java JDK:
https://bugs.java.com/bugdatabase/view_bug?bug_id=8320692
You can try installing newer version of Java.
State: new→opened
This was the issue, fixed by installing JDK 23.0.1, thanks!
You're welcome.
State: opened→closed