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 Source) at java.util.concurrent.FutureTask.get(Unknown Source) at com.jpexs.helpers.CancellableWorker.get( at at at at$ at$ at Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at Source) Caused by: java.lang.StackOverflowError at com.jpexs.decompiler.graph.Graph.getReachableParts( at com.jpexs.decompiler.graph.Graph.getReachableParts( at com.jpexs.decompiler.graph.Graph.getReachableParts( ... > 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)
State: new→opened
Assigned:developer honfika
State: opened→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