mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-28 15:35:29 +00:00
Fixed #1904 NullpointerException when renaming invalid identifiers in AS1/2 files caused by missing charset
This commit is contained in:
@@ -2968,7 +2968,11 @@ public final class SWF implements SWFContainerItem, Timelined, Openable {
|
||||
|
||||
for (ASMSource src : actionsMap.keySet()) {
|
||||
actionsMap.get(src).removeNops();
|
||||
src.setActions(actionsMap.get(src));
|
||||
try {
|
||||
src.setActions(actionsMap.get(src));
|
||||
} catch (ValueTooLargeException vtle) {
|
||||
Logger.getLogger(SWF.class.getName()).log(Level.WARNING, "renaming AS2 identifiers failed for an action source with error: {0}", vtle.getMessage());
|
||||
}
|
||||
src.setModified();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user