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#1704 NegativeArraySizeException when loading SWF
Author: Kostov
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed
> What steps will reproduce the problem?
Simply open the file attached below.
> What is the expected output? What do you see instead?
An error appears immediately when opening the file: "Cannot load SWF file:
java.lang.NegativeArraySizeException"
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v.14.4.0, Windows 10 x64
hud-subs1.swf (4 KiB)
This flash file has incorrect size. Header says length 02EB, but file size is 1000 hex.
There is a symbol class entry for one class, but no actual DoABC data present (the entire
DoABC tag length is 23 bytes, of them 16 bytes script data, which equals nothing). There
is some garbage data after the designated file end, it could be DoABC, but I didn't bother
jumbling it around in a hex editor.
All in all, even if this is some malformed flash file, a decompiler shouldn't have problem
reading it. In fact only that garbage data prevents FFDec from correctly loading it, which
is odd.
This problem does not seem to happen it current FFDec version (16.0.4).
So it looks fixed.
State: new→upgraded
State: upgraded→closed