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

#1569 java.lang.IndexOutOfBoundsException on actionscript editing
Author: user crit
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? I tried to use the experimental actionscript code edit feature > What is the expected output? What do you see instead? Expected to see: the file saving without errors, what im getting tho is this: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.set(Unknown Source) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.method(AVM2SourceGen erator.java:1694) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.generateTraitsPhase3 (AVM2SourceGenerator.java:2158) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.generateClass(AVM2So urceGenerator.java:1311) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.generateClass(AVM2So urceGenerator.java:1411) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.generateTraitsPhase3 (AVM2SourceGenerator.java:2138) at com.jpexs.decompiler.flash.abc.avm2.parser.script.AVM2SourceGenerator.generateScriptInfo(A VM2SourceGenerator.java:2430) at com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScript3Parser.addScriptFromTree(Ac tionScript3Parser.java:2552) at com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScript3Parser.addScript(ActionScri pt3Parser.java:2558) at com.jpexs.decompiler.flash.abc.avm2.parser.script.ActionScript3Parser.compile(ActionScript 3Parser.java:2591) at com.jpexs.decompiler.flash.importers.FFDecAs3ScriptReplacer.replaceScript(FFDecAs3ScriptRe placer.java:69) at com.jpexs.decompiler.flash.abc.ABC.replaceScriptPack(ABC.java:1642) at com.jpexs.decompiler.flash.gui.abc.ABCPanel.saveDecompiledButtonActionPerformed(ABCPanel.j ava:1432) 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) 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? latest, v11.3.0 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. The reason i want to edit the actionscript part is that i dont have a clue about p-code and usually if i edit the actionscript code, and save the file breaks but if i copy the corresponding p-code that also changed and paste it into the original file i basically got the right p-code i need with everything working but in this file whenever im trying to edit the actionscript code im getting said error. If you guys got any better way for me to edit the actionscript code in the case where i only have the swf, not the source fla im open to answers aswell :)
admin
This might be fixed in nightly 1828, but you did not post sample SWF file so we can't properly test it.
State: new→upgraded
admin
State: upgraded→closed