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 issues#941 Decompilation error - IndexOutOfBoundsException
Author: honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationDeobfuscation
State: closed
> What steps will reproduce the problem?
Open abyss-walker-the-los-16056.swf from issue tracker.
> What is the expected output? What do you see instead?
Exception:
Jul 05, 2015 7:25:22 AM com.jpexs.decompiler.flash.abc.types.MethodBody convert
SEVERE: Decompilation error in b28b7af69320201/§3a9e2bb0cbe1683§.§2991c5bc369a53e§
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:99)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:117)
at com.jpexs.decompiler.flash.abc.types.MethodBody.convert(MethodBody.java:271)
at
com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter.convert(TraitMethodGet
terSetter.java:87)
at
com.jpexs.decompiler.flash.abc.types.traits.Traits$TraitConvertTask.call(Traits.java:138)
at com.jpexs.decompiler.flash.abc.types.traits.Traits.convert(Traits.java:189)
at com.jpexs.decompiler.flash.abc.types.traits.TraitClass.convert(TraitClass.java:558)
at com.jpexs.decompiler.flash.abc.types.traits.Trait.convertPackaged(Trait.java:171)
at com.jpexs.decompiler.flash.abc.ScriptPack.convert(ScriptPack.java:153)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:187)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:184)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:112)
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: 11, Size: 11
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toSourceOutput(AVM2Code.java:1417)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2GraphSource.translatePart(AVM2GraphSource.ja
va:104)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1480)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1703)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:814)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:450)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.translateViaGraph(AVM2Graph.java:142)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toGraphTargetItems(AVM2Code.java:1713)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:265)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:260)
... 7 more
> What version of the product are you using? Is it "nighlty build"? Which operating system
do you have?
Latest
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
ArrayIndoexOutOfBoundsException in kt_player.swf
Jul 04, 2015 8:59:49 PM com.jpexs.decompiler.flash.abc.types.MethodBody convert
SEVERE: Decompilation error in kernel.gui/VideoGui.time_reform
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: -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:99)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:117)
at com.jpexs.decompiler.flash.abc.types.MethodBody.convert(MethodBody.java:271)
at
com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter.convert(TraitMethodGet
terSetter.java:87)
at
com.jpexs.decompiler.flash.abc.types.traits.Traits$TraitConvertTask.call(Traits.java:138)
at com.jpexs.decompiler.flash.abc.types.traits.Traits.convert(Traits.java:189)
at com.jpexs.decompiler.flash.abc.types.traits.TraitClass.convert(TraitClass.java:558)
at com.jpexs.decompiler.flash.abc.types.traits.Trait.convertPackaged(Trait.java:171)
at com.jpexs.decompiler.flash.abc.ScriptPack.convert(ScriptPack.java:152)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:186)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:183)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:112)
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.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(Unknown Source)
at java.util.ArrayList.remove(Unknown Source)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toSourceOutput(AVM2Code.java:1447)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2GraphSource.translatePart(AVM2GraphSource.ja
va:104)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1481)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:815)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:450)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.translateViaGraph(AVM2Graph.java:142)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toGraphTargetItems(AVM2Code.java:1711)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:265)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:260)
... 7 more
Could you try it now on the repository version?
I fixed something but don't know whether it is related.
First problem is fixed, but 2nd (ArrayIndexOutOfBoundsException in kt_player.swf) is not
fixed.
Another problem in abyss....swf
Jul 05, 2015 3:59:03 PM com.jpexs.decompiler.flash.abc.types.MethodBody convert
SEVERE: Decompilation error in b28b7af69320201/§30fee59a14a55d5§.Update
java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 17,
Size: 17
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:99)
at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:117)
at com.jpexs.decompiler.flash.abc.types.MethodBody.convert(MethodBody.java:277)
at
com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter.convert(TraitMethodGet
terSetter.java:87)
at
com.jpexs.decompiler.flash.abc.types.traits.Traits$TraitConvertTask.call(Traits.java:138)
at com.jpexs.decompiler.flash.abc.types.traits.Traits.convert(Traits.java:189)
at com.jpexs.decompiler.flash.abc.types.traits.TraitClass.convert(TraitClass.java:562)
at com.jpexs.decompiler.flash.abc.types.traits.Trait.convertPackaged(Trait.java:171)
at com.jpexs.decompiler.flash.abc.ScriptPack.convert(ScriptPack.java:153)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:187)
at com.jpexs.decompiler.flash.abc.ScriptPack$1.call(ScriptPack.java:184)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:112)
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: 17, Size: 17
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toSourceOutput(AVM2Code.java:1519)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2GraphSource.translatePart(AVM2GraphSource.ja
va:104)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1480)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1703)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1747)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:814)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:450)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.translateViaGraph(AVM2Graph.java:142)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toGraphTargetItems(AVM2Code.java:1815)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:271)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:266)
... 7 more
This is the last problem in abyss....swf:)
Second one should be fixed now.
State: new→upgraded
3rd is also fixed... Telling the truth i wrote this issue about 3 hours ago (but then i
had to travel home), in that version it was wrong. So one of the fixes from the past 3
hours solved this issue.
State: upgraded→closed