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](/flash/images/issue_list.png)
#1915 Cannot read field "ratio" because "value" is null
Author:
_90_
![user user](/flash/images/user.png)
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: ImportShapesSVG
State: closed ![Help](/flash/images/help.png)
![Help](/flash/images/help.png)
When attempting to import an svg file as a shape into an swf file using the command line
it gives an error and completely freezes/crashes. This does not happen with all svg files
only a couple specific ones, I narrowed one of the svgs specifically that are giving the
error and attached it.
The error:
java.lang.NullPointerException: Cannot read field "ratio" because "value" is null
When using the gui to import the same svg file into the same swf file, it succeeds.
Expected shaped being imported into the swf file successfully, process gets stuck and
can't continue with the process, -onerror ignore did not cause it to ignore the issue
either.
v18.1.0 Windows 10
Attached svg and swf that are giving the error along with screenshot of command and error
in the command line.
Fixed in nightly 2385.
State: new→upgraded
State: upgraded→closed