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.
List of issues#1407 Unable to save changes to an SWF when opened as subtree
Author: Mist
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: BinaryDataGUI
State: closed
> What steps will reproduce the problem?
Load an SWF inside a binary data tag as a subtree, change anything in the SWF, and try to
save.
> What is the expected output? What do you see instead?
Expected to save, but instead, got this in the log and files unchanged
SEVERE Uncaught exception in thread: AWT-EventQueue-0
java.lang.NullPointerException
at com.jpexs.decompiler.flash.gui.Main.saveFile(Main.java:954)
at com.jpexs.decompiler.flash.gui.Main.saveFileDialog(Main.java:1441)
at com.jpexs.decompiler.flash.gui.MainFrameMenu.saveAs(MainFrameMenu.java:196)
at
com.jpexs.decompiler.flash.gui.MainFrameMenu.saveAsActionPerformed(MainFrameMenu.java:183)
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 javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
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.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
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.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
10.0.0 1665 Nightly Build
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
This is fixed in nightly 1793.
The log says you used "Save as", not regular "Save".
When you want to save changes in BinaryData subtree, just hit Save when you are in subtree
and then select parent SWF and hit Save again.
State: new→upgraded
In nightly 1805: on BinaryData SWF save, parent SWF is saved,
so there should be no more problems with saving.
State: upgraded→closed