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.

List of issuesList of issues

#1265 MP3SOUNDDATA/MP3FRAME reading problem
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

I have a problem exporting three SWF files for a game built with Scaleform. The files are called 'HUDMenu.swf', 'Pipboy_MapPage.swf', and 'PowerArmorHUDMenu.swf' which I have attach to this issue. > What steps will reproduce the problem? -I launch the application and drag one of the attached swf files onto the drop zone. -The application prompts me with a warning "The SWF file uses assets from an imported SWF file:fonts_en.swf". --I select yes for this prompt. -On the resource view I select the SWF root node in the tree view and select 'Export to FLA' on the tool ribbon. -The application prompts me with an error "Error during export: java.lang.IndexOutOfBoundsException Index: 0, Size: 0". --I select "OK" on the error prompt. > What is the expected output? What do you see instead? After selecting "Export to FLA" on the tool ribbon I expected an FLA and AS3 files to be created in the chosen directory but nothing happens other than the error prompt. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? -JPEXS Free Flash Decompiler v.8.0.1 (Release) -Windows 7 Ultimate 64-bit (6.1, Build 7601) > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. These are user interface files for a video game (Fallout 4) using Scaleform. There are many other SWF files included in this game which export to FLA without error. In fact I have previously exported the 'HUDMenu.swf', 'Pipboy_MapPage.swf', and 'PowerArmorHUDMenu.swf' with success but cant remember the version I used. Here is the successful output from that time if that is helpful https://github.com/Scrivener07/FO4_Interface/commit/a60dd0aaecbc7fd52109407c5c0da0036e5780 dd Further I have tried this same export process using FFDEC version 6.1.1, 7.0.1, and 8.0.1 with no success. I have a feeling this is my problem because I have exported these successfully before. I hope someone can help me track down what I could be doing wrong.
DownloadHUDMenu.swf (124 KiB)DownloadPipboy_MapPage.swf (91 KiB)DownloadPowerArmorHUDMenu.swf (58 KiB)DownloadCapture1.PNG (152 KiB)DownloadCapture2.PNG (165 KiB)Downloadfonts_en.swf (406 KiB)
user
Here is the log entry I forgot to include for each export attempt. HUDMenu.swf 06/08/2016 20:41:36 SEVERE FLA export error java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1446) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:2716) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2429) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2030) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2023) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Pipboy_MapPage.swf 06/08/2016 20:43:41 SEVERE FLA export error java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1446) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:2716) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2429) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2030) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2023) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) PowerArmorHUDMenu.swf 06/08/2016 20:44:38 SEVERE FLA export error java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1446) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:2716) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2429) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2030) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2023) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
developer
Pleasew try the latest nightly. There is a problem with exporting the sound tag, but it should not stop the export process anymore. (Only a logmessage in the console/log window)
user
Wow, amazing support. I have used the nightly build "FFDEC v.8.0.1 nightly build 1489" with the same process as I described in my original post with SUCCESS this time! I am able to open the result output in Flash Pro CS6 and publish a SWF file now. I do still get severe errors in the application logs though I understand this is a bleeding edge build :) The log entries are as show. HUDMenu.swf 07/08/2016 00:04:50 SEVERE null java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertMedia(XFLConverter.java:1813) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1433) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:3196) at com.jpexs.decompiler.flash.SWF.exportXfl(SWF.java:2470) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2460) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2057) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2050) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Pipboy_MapPage.swf 07/08/2016 00:05:07 SEVERE null java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertMedia(XFLConverter.java:1813) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1433) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:3196) at com.jpexs.decompiler.flash.SWF.exportXfl(SWF.java:2470) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2460) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2057) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2050) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) PowerArmorHUDMenu.swf 07/08/2016 00:05:50 SEVERE null java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertMedia(XFLConverter.java:1813) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertLibrary(XFLConverter.java:1433) at com.jpexs.decompiler.flash.xfl.XFLConverter.convertSWF(XFLConverter.java:3196) at com.jpexs.decompiler.flash.SWF.exportXfl(SWF.java:2470) at com.jpexs.decompiler.flash.SWF.exportFla(SWF.java:2460) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2057) at com.jpexs.decompiler.flash.gui.MainPanel$16.doInBackground(MainPanel.java:2050) at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:68) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Thank you for the fast response and I hope all goes well getting a complete fix into the next release version.
developer
Title: Error during export with IndexOutOfBoundsException→MP3SOUNDDATA/MP3FRAME reading problem
admin
I don't see any of these errors when exporting FLA in current nightly (1524+) so maybe it's fixed (?).
State: new→upgraded
admin
State: upgraded→closed