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.

#2184 Cannot Export FLA when placeFlagMove is true
Author:
Luxe3710

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: FLA export
State: closed 

> What steps will reproduce the problem?
1. Have a PlaceObject2 with placeFlagMove = true somewhere in your file.
2. Try to export to FLA
> What is the expected output? What do you see instead?
Expected: It exports
Actual: Error during export: java.lang.NullPointerExcpetion Cannot invoke
"java.lang.Boolean.booleanValue()" because the return value of "java.util.Map.get(Object)"
is null
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
v20.1.0 - Non-nightly
OS - Windows 11
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
FrameTest.SWF will not export to FLA
FrameTestExportable.SWF will export to FLA
The only difference between the two is the placeFlagMove flag has been swapped on the only
PlaceObject2 in the file
Full trace log when trying to export.
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because
the return value of "java.util.Map.get(Object)" is null
at com.jpexs.decompiler.flash.xfl.XFLConverter.walkShapeUsages(XFLConverter.java:1212)
at com.jpexs.decompiler.flash.xfl.XFLConverter.walkShapeUsages(XFLConverter.java:1163)
at
com.jpexs.decompiler.flash.xfl.XFLConverter.getNonLibraryShapes(XFLConverter.java:1283)
at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:4868)
at com.jpexs.decompiler.flash.SWF.exportXfl(SWF.java:3238)
at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:3228)
at com.jpexs.decompiler.flash.gui.MainPanel$27.doInBackground(MainPanel.java:3429)
at com.jpexs.decompiler.flash.gui.MainPanel$27.doInBackground(MainPanel.java:3408)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:61)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:78)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)




Ugh, I just double checked if I'd updated my nightly instance (I tested in both) and I
hadn't. It looks like it works just fine in nightly 2761, so this must have been fixed at
some point. Please just close this.
State: new→closed