Fixed: #2456 FLA export - NullPointer exception while exporting to CS4 or lower via commandline

This commit is contained in:
Jindra Petřík
2025-05-17 18:25:54 +02:00
parent 2165425f8d
commit a3400bcd47
2 changed files with 7 additions and 1 deletions

View File

@@ -6020,7 +6020,9 @@ public class XFLConverter {
}
if (cbfFlaVersion != null) {
progressListener.status("Converting to " + cbfFlaVersion + " ...");
if (progressListener != null) {
progressListener.status("Converting to " + cbfFlaVersion + " ...");
}
try {
InputStorageInterface inputStorage = new ZippedInputStorage(new File(zipfile));
OutputStorageInterface outputStorage = new CfbOutputStorage(new File(outfile));