List of issuesList of issues

#952 FFDec not loading SWF without file extension
Author: user poxyran
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

When loading a SWF without extension, FFDec fails with "Cannot load SWF file". Steps to reproduce: 1) Rename SWF file and remove file extension. ie: "myflash.swf" to "myflash" 2) Go to Open->Browse to the path where the SWF file is and select "File of type"->Binary search all files (*.*) 3) Select the file. 4) FFDec fails to open the file. Expected behavior: FFDec should open the SWF file without errors. Stacktrace: {{{ java.lang.NullPointerException at com.jpexs.decompiler.flash.SWFSourceInfo.isBundle(SWFSourceInfo.java:80) at com.jpexs.decompiler.flash.SWFSourceInfo.getBundle(SWFSourceInfo.java:86) at com.jpexs.decompiler.flash.gui.Main.parseSWF(Main.java:256) at com.jpexs.decompiler.flash.gui.Main$OpenFileWorker.doInBackground(Main.java:498) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) }}}
developer
Fixed in the latest nightly build. Please try it.
State: new→upgraded
user
Yes, it is working now.
admin
State: upgraded→closed
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic