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.

#957 AS2 decompilation error - IndexOutOfBoundsException
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
Open wOne_Designer_secure.swf
find script: __Packages/Compiler/Shape/CShape_Contour
> What is the expected output? What do you see instead?
Jul 07, 2015 10:05:07 PM com.jpexs.decompiler.flash.action.Action actionsToSource
SEVERE: Decompilation error in:
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 40,
Size: 40
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.IndexOutOfBoundsException: Index: 40, Size: 40
at java.util.ArrayList$SubList.rangeCheck(Unknown Source)
at java.util.ArrayList$SubList.get(Unknown Source)
at
com.jpexs.decompiler.flash.action.ActionGraphSource.pos2adr(ActionGraphSource.java:167)
at com.jpexs.decompiler.flash.action.ActionGraph.checkIp(ActionGraph.java:475)
at com.jpexs.decompiler.graph.Graph.makeGraph(Graph.java:2042)
at com.jpexs.decompiler.graph.Graph.makeGraph(Graph.java:2067)
at com.jpexs.decompiler.graph.Graph.makeGraph(Graph.java:2076)
at com.jpexs.decompiler.graph.Graph.makeGraph(Graph.java:2076)
at com.jpexs.decompiler.graph.Graph.makeGraph(Graph.java:1986)
at com.jpexs.decompiler.graph.Graph.init(Graph.java:86)
at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:77)
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:1701)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750)
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
Fixed in the repository.
State: new→upgraded
Fixed, thank you.
State: upgraded→closed