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.

#1030 AS3 decompilation error - StackOverflowError
Author:
honfika

Date created:
Type: bug
Visibility: Everybody
Assigned to:
honfika

Labels: AS3Decompilation
State: closed 

> 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:)
I'll fix this by rewriting getReachableParts to not recursive.
(Actually it is done in my machine, i'll commit soon)
fixed
State: opened→closed