If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#955 AS2 decompilation problem - IllegalArgumentException
Author:
honfika
honfikaDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Decompilation
State: closed 

> 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
+for some reason the script name (path) is not visible in the exception message, but i'll
check this problem
script name fixed in the log message (i was wrong, it is not the exception message, only
the log message)
fixed
State: new→closed