INFO: Problems with AV false positives are fixed in 25.0.0, now we sign our code and also use MSI installer type.
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#2611 cannot load swf file java lang stackoverflowerror
Author:
STRAW
STRAWDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Cyclic tags
State: upgraded 

> What steps will reproduce the problem?
When I want to extract files from the game Fallout4, I then have a file called
'LoadingMenu.swf'. When I open it with JPEXS, I get an error message that says 'cannot
load swf file java lang stackoverflowerror'.
> What is the expected output? What do you see instead?
X
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
ffdec_24.1.1_nightly3372 and my operating system is Windows 10
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Can you attach the file LoadingMenu.swf?
I can't fix it if I don't have access to it to reproduce the problem.
It does not give me such error.
Did it offer you loading imported assets from fonts_en.swf?
Do you have it and you pressed Yes?
Can you attach it here too?
Can you copy full error message to clipboard? It is probably present in lower-right log
after clicking the red icon.
Or if you run in via commandline
java -jar ffdec.jar
You should then see the error message in the commandline window
- can you copy it and paste here?
No, I didn’t propose to import the fonts_en.swf file, but here it is attached.
I launch the application via the .exe, here is the complete log attached.
Hey! Any news?
I still cannot reproduce it.
So you placed the file "LoadingMenu.swf" and "fonts_en.swf" in the same directory,
then you clicked "Open" from the toolbar and selected "LoadingMenu.swf", okay?
Could you tell me the directory full PATH? Maybe it contains some unusual characters.
Also see my attached screenshot - this dialog should appear after opening.
Which button did you press on it?
load_assets.png (16 KiB)It’s fine, I managed, I just had to open fonts_en.swf and LoadingMenu.swf at the same
time
A big thank you for your help!
So can I somehow reproduce the problem with StackOverflow?
Nop I fixed it, it was due to the problem that I wasn’t loading fonts_en.swf
It's weird. This should not happen even if you do something awful with the files.
That's why I'd like to know steps which I can take to get the original problem on my PC.
Because even if I don't have fonts_en.swf opened and open only LoadingMenu.swf,
it does not matter whether I choose "Yes" or "No" in the dialog,
I do not get the StackOverFlow error.
So if there can be circumstances where StackOverflow happen, I'd like to know them.
Only possible scenario I can imagine is something like renaming "LoadingMenu.swf" to
"fonts_en.swf",
and then opening it. Because it such case, it would repeatedly load "fonts_en.swf".
I feel like I'm experiencing a similar problem now. I also have error "Cannot load SWF
file: java.lang.StackOverflowError" for some SWF games, and I don't know the reason.
Version: 24.1.2 (stable), OS: Windows 11 25H2 26200.7628.
I have not encountered this issue with the previous version 24.1.1 (stable). After
updating to 24.1.2, some SWFs can be opened normally, but there are also a few SWFs that
get errors.
ali.swf (4,811 KiB)This is fixed in the version 25.0.0
State: new→upgraded
