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

#955 AS2 decompilation problem - IllegalArgumentException
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? open submachine_7.swf find DefineSprite (1076)/frame 60/DoAction > What is the expected output? What do you see instead? Jul 07, 2015 6:45:05 PM com.jpexs.decompiler.flash.action.Action actionsToSource SEVERE: Decompilation error in: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: fromIndex(312) > toIndex(-1) at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:102) at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:120) at com.jpexs.decompiler.flash.action.Action.actionsToSource(Action.java:774) at com.jpexs.decompiler.flash.exporters.script.AS2ScriptExporter.exportAS2Script(AS2ScriptExp orter.java:147) at com.jpexs.decompiler.flash.exporters.script.AS2ScriptExporter.exportAS2Scripts(AS2ScriptEx porter.java:105) at com.jpexs.decompiler.flash.exporters.script.AS2ScriptExporter.access$000(AS2ScriptExporter .java:51) at com.jpexs.decompiler.flash.exporters.script.AS2ScriptExporter$1.call(AS2ScriptExporter.jav a:65) at com.jpexs.decompiler.flash.exporters.script.AS2ScriptExporter$1.call(AS2ScriptExporter.jav a:61) at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:115) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:49) at java.util.concurrent.FutureTask.run(Unknown Source) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:66) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: fromIndex(312) > toIndex(-1) at java.util.ArrayList.subListRangeCheck(Unknown Source) at java.util.ArrayList$SubList.subList(Unknown Source) at com.jpexs.decompiler.flash.action.Action.actionsPartToTree(Action.java:945) at com.jpexs.decompiler.flash.action.ActionGraphSource.translatePart(ActionGraphSource.java:8 1) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1483) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1706) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:812) at com.jpexs.decompiler.graph.Graph.translate(Graph.java:448) at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:78) at com.jpexs.decompiler.flash.action.Action.actionsPartToTree(Action.java:945) at com.jpexs.decompiler.flash.action.ActionGraphSource.translatePart(ActionGraphSource.java:8 1) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1483) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1759) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:812) at com.jpexs.decompiler.graph.Graph.translate(Graph.java:448) at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:78) at com.jpexs.decompiler.flash.action.Action.actionsToTree(Action.java:828) at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:778) at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:774) ... 7 more
developer
+for some reason the script name (path) is not visible in the exception message, but i'll check this problem
developer
script name fixed in the log message (i was wrong, it is not the exception message, only the log message)
developer
fixed
State: new→closed