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.

#897 FFDec is not starting when classic (non-ribbon) UI is selected
Author:
vs.

Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GUI
State: closed 

> What steps will reproduce the problem?
Open ffdec.exe
> What is the expected output? What do you see instead?
ьр 22, 2015 4:01:49 PM com.jpexs.decompiler.flash.gui.View execInEventDispatch
SEVERE: null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.jpexs.decompiler.flash.gui.View.execInEventDispatch(View.java:368)
at com.jpexs.decompiler.flash.gui.Main.main(Main.java:1094)
Caused by: java.lang.NullPointerException
at
com.jpexs.decompiler.flash.gui.MyRibbonApplicationMenuButtonUI$1.paintIcon(MyRibbonApplica
tionMenuButtonUI.ja
va:87)
at com.jpexs.decompiler.flash.gui.View.setWindowIcon(View.java:287)
at com.jpexs.decompiler.flash.gui.ErrorLogFrame.<init>(ErrorLogFrame.java:116)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.getInstance(ErrorLogFrame.java:87)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.createNewInstance(ErrorLogFrame.java:104)
at com.jpexs.decompiler.flash.gui.Main.initGui(Main.java:866)
at com.jpexs.decompiler.flash.gui.Main.lambda$main$60(Main.java:1095)
at com.jpexs.decompiler.flash.gui.Main$$Lambda$13/16854493.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source
> What version of the product are you using? On what operating system?
FFDec 5.2.0, Windows 7 x64, JDK 1.7.0.79 x86, JDK 1.8.0.45 x86
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE
It is very interesting, for us it works, and you are the only one who reported this
problem, so other users can start it, too.
Could you please try the latest nightly build? Can you see a "Current skin is null" error
message?
In nightly build v5.2.0.547 I get same error. Maybe problem
/www.free-decompiler.com/flash/guestbook/?pos=331#rec343 is similar to mine?
No, that was a different issue about high screen resolution (3200x...) It should be
already fixed.
Could you please copy the exception again, because the line numbers should be diffrenet?
ьр 22, 2015 10:21:52 PM com.jpexs.decompiler.flash.gui.View execInEventDispatch
SEVERE: null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.jpexs.decompiler.flash.gui.View.execInEventDispatch(View.java:373)
at com.jpexs.decompiler.flash.gui.Main.main(Main.java:1094)
Caused by: java.lang.NullPointerException
at
com.jpexs.decompiler.flash.gui.MyRibbonApplicationMenuButtonUI$1.paintIcon(MyRibbonApplica
tionMenuButtonUI.ja
va:89)
at com.jpexs.decompiler.flash.gui.View.setWindowIcon(View.java:292)
at com.jpexs.decompiler.flash.gui.ErrorLogFrame.<init>(ErrorLogFrame.java:116)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.getInstance(ErrorLogFrame.java:87)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.createNewInstance(ErrorLogFrame.java:104)
at com.jpexs.decompiler.flash.gui.Main.initGui(Main.java:866)
at com.jpexs.decompiler.flash.gui.Main.lambda$main$60(Main.java:1095)
at com.jpexs.decompiler.flash.gui.Main$$Lambda$13/16854493.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
could you please try the latest nightly build?
I incorrectly wrote steps of reproduction
If run ffdec.bat, I see an error.
If open ffdec.exe, application closes after a few seconds on splash screen.
5.2.0.548
ьр 22, 2015 11:47:54 PM com.jpexs.decompiler.flash.gui.View execInEventDispatch
SEVERE: null
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.jpexs.decompiler.flash.gui.View.execInEventDispatch(View.java:373)
at com.jpexs.decompiler.flash.gui.Main.main(Main.java:1094)
Caused by: java.lang.Error: skin
at
com.jpexs.decompiler.flash.gui.MyRibbonApplicationMenuButtonUI$1.paintIcon(MyRibbonApplica
tionMenuButtonUI.ja
va:90)
at com.jpexs.decompiler.flash.gui.View.setWindowIcon(View.java:292)
at com.jpexs.decompiler.flash.gui.ErrorLogFrame.<init>(ErrorLogFrame.java:116)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.getInstance(ErrorLogFrame.java:87)
at
com.jpexs.decompiler.flash.gui.ErrorLogFrame.createNewInstance(ErrorLogFrame.java:104)
at com.jpexs.decompiler.flash.gui.Main.initGui(Main.java:866)
at com.jpexs.decompiler.flash.gui.Main.lambda$main$60(Main.java:1095)
at com.jpexs.decompiler.flash.gui.Main$$Lambda$13/16854493.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
what is the error message now?
I wrote the error above
Hmm... did you select the classic UI earlier?
yes
Title: Error during startup→FFDec is not starting when classic (non-ribbon) UI is selected
Ok, so we found the problem, now i reproduced it, i'll fix it.
Fixed in the latest nightly build. Maybe you are the only one who uses the classic
interface.
What is the problem with the ribbon?
JPEXS: now some default colors in classic interface are blue, so for example the
backgounrd of the folder preview items, the header labels and the image panel are blue.
(probably they were blue before v5.x, too) The constants should be changed to some gray
colors for the classic ui. Check this commit: https://github.com/jindrapetrik/jpexs-decompiler/commit/0d7220a87ac93e7d11b06621ccc388b9f4
cf487a
State: new→upgraded
I close this issue due to inactivity. Please create new issue if problem persists. (Colors
were fixed by JPEXS, too)
State: upgraded→closed