: 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

#1030 AS3 decompilation error - StackOverflowError
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to: developer honfika
Labels: AS3Decompilation
State: closed Help

> What steps will reproduce the problem? Open 060913.swf from issue tracker. > What is the expected output? What do you see instead? Exception: SEVERE: Decompilation error in: /ApplicationMain.getAsset java.util.concurrent.ExecutionException: java.lang.StackOverflowError at java.util.concurrent.FutureTask.report(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.jpexs.helpers.CancellableWorker.get(CancellableWorker.java:105) at com.jpexs.helpers.CancellableWorker.call(CancellableWorker.java:123) at com.jpexs.decompiler.flash.abc.types.MethodBody.convert(MethodBody.java:303) at com.jpexs.decompiler.flash.abc.types.traits.TraitMethodGetterSetter.convert(TraitMethodGet terSetter.java:84) at com.jpexs.decompiler.flash.abc.types.traits.Traits$TraitConvertTask.call(Traits.java:139) at com.jpexs.decompiler.flash.abc.types.traits.Traits$TraitConvertTask.call(Traits.java:90) 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.StackOverflowError at com.jpexs.decompiler.graph.Graph.getReachableParts(Graph.java:289) at com.jpexs.decompiler.graph.Graph.getReachableParts(Graph.java:345) at com.jpexs.decompiler.graph.Graph.getReachableParts(Graph.java:289) ... > What version of the product are you using? Is it "nightly 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. Earlier it was a timeout, but now the decomiler is fast enough to get a StackOverflowError:)
developer
I'll fix this by rewriting getReachableParts to not recursive. (Actually it is done in my machine, i'll commit soon)
State: new→opened
Assigned:developer honfika
developer
fixed
State: opened→closed