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

#2300 Java NPE while trying to export scripts
Author: user GrizBane
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: upgraded Help

> What steps will reproduce the problem? Right click on a script, choose "Export selection", in the Export dialogue click 'OK', pick a directory, click 'Open' > What is the expected output? What do you see instead? expected: The script should be exported to the indicated directory actual: An error comes up saying "Error during export: java.lang.NullPointerException Cannot invoke "com.jpexs.decompilter.graph.DottedChain.toPrintableString(boolean)" because the return value of "com.jpexs.decompiler.graph.DottedChain.getWithoutLast()" is null The detailed stack trace from the lower right error button is: java.lang.NullPointerException: Cannot invoke "com.jpexs.decompiler.graph.DottedChain.toPrintableString(boolean)" because the return value of "com.jpexs.decompiler.graph.DottedChain.getWithoutLast()" is null at com.jpexs.decompiler.flash.exporters.script.AS3ScriptExporter.exportActionScript3(AS3Scrip tExporter.java:414) at com.jpexs.decompiler.flash.gui.MainPanel.exportSelection(MainPanel.java:2264) at com.jpexs.decompiler.flash.gui.MainPanel$39.doInBackground(MainPanel.java:4204) at com.jpexs.decompiler.flash.gui.MainPanel$39.doInBackground(MainPanel.java:4198) 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) > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 21.0.4 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. The problem occurs with any SWF file that I try this with, so the problem does not appear to be specific to a particular SWF. I've added a specific example (a UI app that comes with Starfield)
admin
I guess it's the same problem as in #2299. This was fixed in nightly 2884, try it.
State: new→upgraded
admin
It is released as 21.0.5
user
With 21.0.5 I am getting a different error when trying to export a collection of AS3 scripts: ava.lang.IllegalArgumentException: Comparison method violates its general contract! at java.base/java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:870) at java.base/java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:487) at java.base/java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:413) at java.base/java.util.ComparableTimSort.sort(ComparableTimSort.java:213) at java.base/java.util.Arrays.sort(Arrays.java:1042) at java.desktop/sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:319) at java.desktop/sun.awt.shell.ShellFolder.get(ShellFolder.java:272) at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem(Meta lFileChooserUI.java:1031) at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged(MetalFileChooser UI.java:719) at java.desktop/javax.swing.plaf.metal.MetalFileChooserUI$5.propertyChange(MetalFileChooserUI .java:808) at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.jav a:335) at java.desktop/java.beans.PropertyChangeSupport.fir
admin
Please try nightly 2891, this might be better.