: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#954 Decompilation error - IndexOutOfBoundsException
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationDeobfuscationFlashCCObfuscated
State: closed Help

> What steps will reproduce the problem? This is a C package, but this problem should be fixed I think. Open sadasda.swf Find the method from the exception messasge > What is the expected output? What do you see instead? Jul 07, 2015 5:18:33 PM com.jpexs.decompiler.flash.abc.types.MethodBody convert SEVERE: Decompilation error in C_Run.F__ZN6Battle22attackerCanDeployUnitsEv java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 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.abc.types.MethodBody.convert(MethodBody.java:286) at com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter.convert(TraitMethodGet terSetter.java:87) 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: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: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1936) 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:1701) 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:1971) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1750) 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:812) at com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.check(AVM2Graph.java:377) at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1490) 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:812) at com.jpexs.decompiler.graph.Graph.translate(Graph.java:448) at com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.translateViaGraph(AVM2Graph.java:142) at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toGraphTargetItems(AVM2Code.java:1884) at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:280) at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:275) ... 7 more > What version of the product are you using? Is it "nighlty build"? Which operating system do you have? > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
admin
Fixed in the repository
State: new→upgraded
developer
Fixed, thanks
State: upgraded→closed
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic