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#2016 Cannot save AS3 after editation
Author: RenderDragon
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed
> What steps will reproduce the problem?
Try to edit some AS3 in the attached swf
> What is the expected output? What do you see instead?
Expected: saved AS3
Instead: after pressing "Save" button there is an error in log and nothing saved
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Version 18.4.0 on 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.
Stacktrace:
29/04/2023 19:42:16 SEVERE null
java.lang.NullPointerException
at com.jpexs.decompiler.flash.gui.abc.ABCPanel.getScriptNodeForPack(ABCPanel.java:1664)
at com.jpexs.decompiler.flash.gui.abc.ABCPanel.saveDecompiled(ABCPanel.java:1679)
at
com.jpexs.decompiler.flash.gui.abc.ABCPanel.saveDecompiledButtonActionPerformed(ABCPanel.j
ava:1738)
at
com.jpexs.decompiler.flash.gui.abc.ABCPanel$$Lambda$265/615452499.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at
org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverBu
ttonListener.java:124)
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$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.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$1.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)
library_23_04_2023.swf (6,051 KiB)
I couldn't reproduce it. No problem here. Using v.18.4.1 nightly 2531
It suddenly started working, really strange.
This happened when you switch Deobfuscation on or off and then try to edit AS3.
This was fixed in FFDec 19.1.0.
State: new→closed