diff --git a/CHANGELOG.md b/CHANGELOG.md index bb8798592..e5ae76984 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. - [#1880] JPEG Fixer - Close action from menu not available on bundles (zip, etc...) - [#1881] Wrong locale reference for invalid tag order +- New file action ## [17.0.0] - 2022-11-20 ### Added diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java index f1c79f75c..25bab61ad 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/OpenableSourceInfo.java @@ -105,8 +105,8 @@ public class OpenableSourceInfo { return file; } - public boolean isBundle() { - if (inputStream == null) { + public boolean isBundle() { + if (inputStream == null && file != null) { File fileObj = new File(file); String fileName = fileObj.getName(); if (fileName.startsWith("asdec_") && fileName.endsWith(".tmp")) {