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.

#1183 New AS2 decompilation problems, it was wokring in version 7.1.1
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Decompilation
State: closed 

> What steps will reproduce the problem?
Try to decompile the followings:
interface.swf / DLSLocalConnectionProducer
wOne_Designer_secure / CWOne
> What is the expected output? What do you see instead?
Expected: decompiles without exception
Current:
Mar 04, 2016 1:29:59 PM com.jpexs.decompiler.flash.action.Action actionsToSource
SEVERE: Decompilation error in: DLSLocalConnectionProducer
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 11,
Size: 11
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:113)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:131)
at com.jpexs.decompiler.flash.action.Action.actionsToSource(Action.java:844)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask$1.run(ExportScriptTask.java:1
14)
at com.jpexs.decompiler.flash.RetryTask.run(RetryTask.java:41)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask.call(ExportScriptTask.java:12
9)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask.call(ExportScriptTask.java:43
)
at java.util.concurrent.FutureTask.run(Unknown Source)
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: 11, Size: 11
at java.util.ArrayList$SubList.rangeCheck(Unknown Source)
at java.util.ArrayList$SubList.get(Unknown Source)
at com.jpexs.decompiler.flash.action.ActionGraphSource.get(ActionGraphSource.java:68)
at com.jpexs.decompiler.flash.action.ActionGraph.check(ActionGraph.java:306)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1707)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1032)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:645)
at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:81)
at com.jpexs.decompiler.flash.action.Action.actionsPartToTree(Action.java:1026)
at
com.jpexs.decompiler.flash.action.ActionGraphSource.translatePart(ActionGraphSource.java:8
4)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1700)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1945)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:2012)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:2012)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:2012)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:2012)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1032)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:645)
at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:81)
at com.jpexs.decompiler.flash.action.Action.actionsToTree(Action.java:904)
at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:848)
at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:844)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:126)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68)
... 3 more
and:
Mar 04, 2016 1:31:56 PM com.jpexs.decompiler.flash.action.Action actionsToSource
SEVERE: Decompilation error in: CWOne
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 354,
Size: 354
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:113)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:131)
at com.jpexs.decompiler.flash.action.Action.actionsToSource(Action.java:844)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask$1.run(ExportScriptTask.java:1
14)
at com.jpexs.decompiler.flash.RetryTask.run(RetryTask.java:41)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask.call(ExportScriptTask.java:12
9)
at
com.jpexs.decompiler.flash.exporters.script.ExportScriptTask.call(ExportScriptTask.java:43
)
at java.util.concurrent.FutureTask.run(Unknown Source)
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: 354, Size: 354
at java.util.ArrayList$SubList.rangeCheck(Unknown Source)
at java.util.ArrayList$SubList.get(Unknown Source)
at com.jpexs.decompiler.flash.action.ActionGraphSource.get(ActionGraphSource.java:68)
at com.jpexs.decompiler.flash.action.ActionGraph.check(ActionGraph.java:306)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1707)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1032)
at com.jpexs.decompiler.flash.action.ActionGraph.check(ActionGraph.java:447)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1707)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1950)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1032)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:645)
at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:81)
at com.jpexs.decompiler.flash.action.Action.actionsPartToTree(Action.java:1026)
at
com.jpexs.decompiler.flash.action.ActionGraphSource.translatePart(ActionGraphSource.java:8
4)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1700)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1945)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1032)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:645)
at com.jpexs.decompiler.flash.action.ActionGraph.translateViaGraph(ActionGraph.java:81)
at com.jpexs.decompiler.flash.action.Action.actionsToTree(Action.java:904)
at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:848)
at com.jpexs.decompiler.flash.action.Action$1.call(Action.java:844)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:126)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68)
... 3 more
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
8.0.1 nighlty 1311
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
there are new problems which were already working before (about 3 months ago)
the deobfuscated pcode list is exactly the same as in versoin 7.1.1, which decomopiles it
without any error
pushed fix
State: new→upgraded
Thanks, I already tried it when you fixed it. Forget to close this issue, so now i close
it.
State: upgraded→closed