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

#427 setLookAndFeel throws exception on linux
Author: user devsaider
Date created:
Type: bug
Visibility: Everybody
Assigned to: developer honfika
Labels: GUILinux
State: closed Help

> What steps will reproduce the problem? Running ffdec command line option (rename invalid identifies.) > What is the expected output? What do you see instead? Ffdec is not running. Have error: root@spacemice:/var/pcodes# java -Xms64m -Xmx64m -jar ffdec.jar -renameInvalidIdentifiers typeNumber TFAOBFUSCATED.swf TFA.swf Nov 23, 2013 10:51:49 PM com.jpexs.decompiler.flash.gui.View setLookAndFeel SEVERE: null java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349) at com.jpexs.decompiler.flash.gui.View.setLookAndFeel(View.java:76) at com.jpexs.decompiler.flash.gui.Main.main(Main.java:797) Caused by: java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.inst all(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java: 1628) at javax.swing.UIManager.setLookAndFeel(UIManager.java:535) at com.jpexs.decompiler.flash.gui.View$1.run(View.java:81) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:224) at org.pushingpixels.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:436) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 18 more Exception in thread "main" java.io.FileNotFoundException: TFAOBFUSCATED.swf (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at com.jpexs.decompiler.flash.console.CommandLineArgumentParser.parseRenameInvalidIdentifiers (CommandLineArgumentParser.java:583) at com.jpexs.decompiler.flash.console.CommandLineArgumentParser.parseArguments(CommandLineArg umentParser.java:175) at com.jpexs.decompiler.flash.gui.Main.main(Main.java:809) > What version of the product are you using? On what operating system? Latest nightly build. Ubuntu server x64.
developer
It is a FileNotFoundException? What is the problem? Is the problem, that it shows an ugly exception message instead of a simple "Input swf not found" text?
user
Swf are in same folder
user
Oh sorry, error is Error: Could not find or load main class ffdec.jar
developer
Please try the latest nightly build.
user
root@spacemice:/var/pcodes# java -Xms64m -jar ffdec.jar -renameInvalidIdentifiers typeNumber TFAOBFUSCATED.swf TFA.swf Nov 24, 2013 1:58:39 PM com.jpexs.decompiler.flash.gui.View setLookAndFeel SEVERE: null java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1272) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1247) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349) at com.jpexs.decompiler.flash.gui.View.setLookAndFeel(View.java:76) at com.jpexs.decompiler.flash.gui.Main.main(Main.java:797) Caused by: java.lang.ExceptionInInitializerError at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.inst all(ShadowPopupFactory.java:115) at org.pushingpixels.substance.api.SubstanceLookAndFeel.initialize(SubstanceLookAndFeel.java: 1628) at javax.swing.UIManager.setLookAndFeel(UIManager.java:535) at com.jpexs.decompiler.flash.gui.View$1.run(View.java:81) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:224) at org.pushingpixels.lafwidget.utils.LookUtils.isLowResolution(LookUtils.java:436) at org.pushingpixels.lafwidget.utils.LookUtils.<clinit>(LookUtils.java:233) ... 18 more
developer
State: new→opened
Title: →setLookAndFeel throws exception on linux
Assigned:developer honfika
developer
Fixed. Please try the latest nightly build.
State: opened→upgraded
developer
I'll close this due to inactivity. Feel free to create a new issue when you find any problem.
State: upgraded→closed