JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#927 JNA problems - Crash Does not start & UnsatisfiedLinkError with java V 1.8
Author: user codydbgt
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Installation
State: closed Help

> What steps will reproduce the problem? run with cmd window with java -jar ffdec.jar or double clicking the .exe > What is the expected output? What do you see instead? EXE Closes. with CMD ... Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't obtain static newInstance method for class com.sun.jna.Structure at com.sun.jna.Native.initIDs(Native Method) at com.sun.jna.Native.<clinit>(Native.java:135) at com.sun.jna.Pointer.<clinit>(Pointer.java:42) at com.sun.jna.platform.win32.WinReg$HKEY.<init>(WinReg.java:39) at com.sun.jna.platform.win32.WinReg.<clinit>(WinReg.java:72) at com.jpexs.decompiler.flash.gui.Main.initLang(Main.java:956) at com.jpexs.decompiler.flash.gui.Main.main(Main.java:1141) > What version of the product are you using? On what operating system? 5.3.0 win 7 > 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 java 7 does not work either
developer
This seems not to be an FFDex bug. http://stackoverflow.com/questions/30755963/jna-error-in-servlet-java-lang-unsatisfiedlink error-cant-obtain-static-newins JNA's native library (JNI) initialization is failing because it can't find the method com.sun.jna.Structure.newInstance(Class) Make sure your system doesn't have a conflicting JNA library installed;
State: new→upgraded
user
im a java dev i have a lot of javas installed ... does it need a jre environment or jdk?
user
i don't understand my eclipse works minecraft works ... i need more info on a stack trace like this to fix it my self ... i updated java and still does not work
user
FIXED ... add this to your bat https://github.com/arduino/Arduino/pull/2301
developer
JRE should be enough (am i right, JPEXS?), but of course i have JDK, too. Now only 1.8, but earlier i had 7 and 8 parallel (multiple minor versions, too + x86+x64), so I think that the multiple official JRE, JDK versions are not causing this problem. Do you have Andorid studio? there are similar bug reports on the internet from Android Studio.
developer
JPEXS: Should we add this "-Djna.nosys=true" to our bat file? Is it possible to add to FFDec.exe?
user
i dont know why u have an exe with a jar i would just make the jar run :) if u need help with java u should hit me up some time im good with threading,api creation,and more... i would suspect you can add arguments to it :). i you could put the java version of the project on github in a eclipse set up or a pom(Maven) or gradle i can help with that :)
developer
? The source code is already on github: https://github.com/jindrapetrik/jpexs-decompiler Why we have exe? Because some users wants to start an exe, they don't know how to add parameters to a program, etc... I never use it, but it is good to have it for those users. (It is only a wrapper, created with launch4j)
user
...bud every one had minecraft dud ... java is the new MASTER RACE
user
and i know u got that on github no big java project use ant any more i recommend maven then it would download all them librays and u could shade them in to 1 jar ....
user
also ur program did work for what i wanted i wanted to say i love you for that <3
developer
I never tried minecraft:) I don't care whether it is ant or maven, it was created by JPEXS, i only start and debug it in netbeans. Most of the dependencies are in our repository, because they are not maintained anymore, we had to fix some bugs in them.
user
i run a huge minecraft community also i cna do web work im curently working on a minecraft panel that uses socket.io as a means of info transfure ... Daemon is in java ... im looking for other people to help me its on bitbucket thoe ... i don't know to many places u would find another java programer but ... im mostly board/lonely so perhaps we could hang out some time. hit me up on skype(codydbgt) or my site(http://ntgclan.com) :) we probly shouldn't be talking in a issue tracker XD. PS i wouldn't mind helping with this project as well haven't messed with exes but i have worked on DLL's a long long time ago
user
this is happening to me too. help it never happened before the 6.0.0
developer
So if you download for example version 5.0 from download archie, it works, but version 6.0.1 not?
user
I used to have 5.0 nightly build, but when 6.0.0+ were released, it never worked anymore.
developer
So if version 5.0 is not working, too, how do you know that the problem is with FFDec? For me it seems to be a java problem, maybe there was a Java update, too. Or you installed some other application which uses JNA, JNI or whatever:)
user
I said 5.0 worked... Idk I've not installed any java application ever since, plus my java is 1.8... I even tried closing every application using java and no success.
developer
So if you download version 5.0 is is still working (not only worked), right? 5.3.0 works, too? It would help me much if you can find the last working and first non working version.
user
none of them are working now idk why but... 16:23:32.571 > SEVERE: null com.jpexs.decompiler.flash.gui.View execInEventDispatch 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:435) at com.jpexs.decompiler.flash.gui.Main.main(Main.java:1175) Caused by: com.jpexs.javactivex.ActiveXException: Property does not exist at com.jpexs.javactivex.ActiveXControl.readResult(ActiveXControl.java:674) at com.jpexs.javactivex.ActiveXControl.setPropertyValue(ActiveXControl.java:698) at com.jpexs.javactivex.ActiveX$MyHandler.invoke(ActiveX.java:38) at com.sun.proxy.$Proxy11.setAllowNetworking(Unknown Source) at com.jpexs.decompiler.flash.gui.player.FlashPlayerPanel.<init>(FlashPlayerPanel.java:164) at com.jpexs.decompiler.flash.gui.MainFrameRibbon.<init>(MainFrameRibbon.java:55) at com.jpexs.decompiler.flash.gui.Main.ensureMainFrame(Main.java:144) at com.jpexs.decompiler.flash.gui.Main.showModeFrame(Main.java:954) at com.jpexs.decompiler.flash.gui.Main.lambda$main$86(Main.java:1180) 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$JavaSecurityAccessImpl.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)
developer
So version 5.0 is wrong too? Then something changed in your system. I don't think that this is a new bug in FFDec, we did not changed anything which can be a reason for this problem. The new feature in v6.0 is the improved AS3 deobfuscation.
admin
From the log - It looks like there is something wrong with FlashPlayer ActiveX component. The "AllowNetworking" property does not exist.
developer
realmaster42: Please try the latest nightly.
user
OMG thanks its working! I've been waiting for 2 months lol
developer
Next time attach your error message (earlier) and give us more accurate information (for example you said that v5 is working, v6 is not, but it was not true) ;)
admin
heh, "waiting for 2 months" is lol for you, sounds funny to me. You probably don't know how we work :-). There are many issues in the tracker about problems and features, some of them waiting up to one year or more. You should feel lucky that your issue were solved in two months :-). No, let's be serious: There are only two active developers for JPEXS and about 200 unfinished issues. Both of us have fulltime job during week - working with computers. We can't live only from FFDec donations. Also I would like to have some personal life, some hobbys outside IT. So the time for FFDec development is very limited. I am sorry. The decompiler is opensource so anyone on the internet can fix it and create pull request on GitHub so we can merge the code. Also making a donation does not speed up anything. It does not work this way. We really appreciate any kind of help including donations, but it won't magically create more time in our calendar. The project is free and opensource with every pros and cons this has. Commercial decompilers from companies which work on their products every day 8 hours can surely fix their products faster, because the developers have the funds for their living coming from that company sales. I hope you understand now. Thanks. Also, honfika is right, there was no usefull error information before you posted your last exception info. These kinds of errors are difficult so fix without proper information.
admin
I guess this is issue is about to be closed. honfika: Did you add the -Djna.nosys=true switch to the EXE you asked earlier? It surely can be added to launch4j config
developer
Not yet. Tomorrow i'll check how to add it to launch4j config, and i'll addit to the bat file, too.
developer
Added. (Included in the latest nightly.)
admin
Thanks everybody here, I am closing this one!
State: upgraded→closed
admin
Title: Crash Does not start & UnsatisfiedLinkError with java V 1.8→JNA problems - Crash Does not start & UnsatisfiedLinkError with java V 1.8