JPEXS Free Flash Decompiler Issue Tracker

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.

Error: Please login first to download files from the Issue Tracker. You can register for free.
List of issuesList of issues

#2318 21.x.x regression in GFX support - Error during tag reading
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GFX
State: closed Help

GFX files which previously loaded and saved successfully now fail during reading. My specific use case is files from Armored Core VI; most of them are now failing, so I've attached one of the smaller samples as well as a zip of all of them if you'd like to test further. A full log is also provided at the bottom of this report. Thank you! > What steps will reproduce the problem? Invoke ffdec from the command line on a problem file, for example: ffdec.bat -cli 02_onlinearena_roomannounce.gfx Loading the file from the GUI won't announce any errors, but the file will appear to have nothing in it. > What is the expected output? What do you see instead? File content to be loaded normally; instead, errors are reported and/or the file appears empty. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? The files do NOT work in versions 21.0.0 and 21.0.5 (did not test inbetween) The files DO work in version 20.1.0 Windows 10 x64 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. Full error log: ffdec.bat -cli 02_onlinearena_roomannounce.gfx Sep 23, 2024 3:30:41 PM com.jpexs.decompiler.flash.SWFInputStream resolveTag SEVERE: Error during tag reading. SWF: 02_onlinearena_roomannounce.gfx ID: 1000 name: Unresolved (tcl: ExporterInfo, tid: 1000) pos: 22 com.jpexs.decompiler.flash.EndOfStreamException: Premature end of the stream reached at com.jpexs.decompiler.flash.SWFInputStream.readNoBitReset(SWFInputStream.java:601) at com.jpexs.decompiler.flash.SWFInputStream.readEx(SWFInputStream.java:581) at com.jpexs.decompiler.flash.SWFInputStream.readUI32Internal(SWFInputStream.java:682) at com.jpexs.decompiler.flash.SWFInputStream.readUI32(SWFInputStream.java:670) at com.jpexs.decompiler.flash.tags.gfx.ExporterInfo.readData(ExporterInfo.java:101) at com.jpexs.decompiler.flash.tags.gfx.ExporterInfo.<init>(ExporterInfo.java:88) at com.jpexs.decompiler.flash.SWFInputStream.resolveTag(SWFInputStream.java:1770) at com.jpexs.decompiler.flash.SWFInputStream.readTagList(SWFInputStream.java:1442) at com.jpexs.decompiler.flash.SWF.<init>(SWF.java:2246) at com.jpexs.decompiler.flash.SWF.<init>(SWF.java:2195) at com.jpexs.decompiler.flash.gui.Main$10.open(Main.java:1124) at com.jpexs.decompiler.flash.gui.Main$10.doInBackground(Main.java:1298) at com.jpexs.decompiler.flash.gui.Main$10.doInBackground(Main.java:1082) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:65) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:87) 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:1583) Sep 23, 2024 3:30:41 PM com.jpexs.decompiler.flash.SWFInputStream readTagList SEVERE: Error during tag reading java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "com.jpexs.decompiler.flash.SWFInputStream.endDumpLevelUntil(com.jpexs.decompiler.flash.du mpview.DumpInfo)" because "x0" is null at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) at com.jpexs.decompiler.flash.SWFInputStream.readTagList(SWFInputStream.java:1488) at com.jpexs.decompiler.flash.SWF.<init>(SWF.java:2246) at com.jpexs.decompiler.flash.SWF.<init>(SWF.java:2195) at com.jpexs.decompiler.flash.gui.Main$10.open(Main.java:1124) at com.jpexs.decompiler.flash.gui.Main$10.doInBackground(Main.java:1298) at com.jpexs.decompiler.flash.gui.Main$10.doInBackground(Main.java:1082) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:65) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:87) 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:1583) Caused by: java.lang.NullPointerException: Cannot invoke "com.jpexs.decompiler.flash.SWFInputStream.endDumpLevelUntil(com.jpexs.decompiler.flash.du mpview.DumpInfo)" because "x0" is null at com.jpexs.decompiler.flash.SWFInputStream.access$000(SWFInputStream.java:305) at com.jpexs.decompiler.flash.SWFInputStream$TagResolutionTask.call(SWFInputStream.java:1395) at com.jpexs.decompiler.flash.SWFInputStream$TagResolutionTask.call(SWFInputStream.java:1328) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ... 3 more
This is already fixed in nightly builds (current - nightly 2911).
State: new→upgraded
Ah! My mistake. Confirmed and thank you.
You're welcome.
State: upgraded→closed