JPEXS Free Flash Decompiler Issue Tracker

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 issuesList of issues

#1859 Error when editing ActionScript 3 P-Code
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3P-code
State: closed Help

> What steps will reproduce the problem? 1. Open any SWF that uses ActionScript 3. 2. Select a script and click Edit P-code. 3. Change something and click the Save button. For example, change a number to a different value. > What is the expected output? What do you see instead? I expect the P-Code to save. But the Save button does not work, and an error like this will appear in the log: Uncaught exception in thread: AWT-EventQueue-0 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at com.jpexs.decompiler.flash.abc.avm2.parser.pcode.ASM3Parser.parse(ASM3Parser.java:691) at com.jpexs.decompiler.flash.gui.abc.ASMSourceEditorPane.save(ASMSourceEditorPane.java:277) at com.jpexs.decompiler.flash.gui.abc.MethodCodePanel.save(MethodCodePanel.java:111) at com.jpexs.decompiler.flash.gui.abc.MethodTraitDetailPanel.save(MethodTraitDetailPanel.java :43) at com.jpexs.decompiler.flash.gui.abc.DetailPanel.saveButtonActionPerformed(DetailPanel.java: 309) 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$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) > What version of the product are you using? Is it "nightly build"? Which operating system do you have? FFDEC Version: 16.0.2 (stable) Operating system: Windows 10 64-bit The problem does not occur in FFDEC 15.1.1 or earlier. > 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 problem occurs for *every* ActionScript 3 SWF that I've tried. It does not occur when editing ActionScript 2 P-Code. It only occurs when editing ActionScript 3 P-Code.
This should be fixed in version 16.0.3
State: new→upgraded
Can confirm that the problem is fixed! Thank you!
You're welcome. Thanks for reporting, this was pretty serious bug.
State: upgraded→closed