+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: upgraded new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
> What steps will reproduce the problem?
I can't exactly describe what caused this specific issue, but I was editing Pcode (not
direct actionscript) and added a Push constantx constanty GetMember Add (Accessing a class
variable I made) and then hit save (Pcode save)
> What is the expected output? What do you see instead?
I expect it to reload and decompile my new changes. Instead, I get // Decompilation error:
java.util.concurrent.ExecutionException: java.lang.NullPointerException. Saving the file
and reloading does not fix this.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
8.0.1 on Windows 10 x64
> 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 part edited was the DoAction... object? in frame1 under scripts. This is an
ActionScript 2 file from Mass Effect 3 that I have been working on to make the UI scale. I
added one constant to the top line. This file was provided to me by another game modder,
which is why I see lots of constants for _loc1_ and such, and I don't have the source for
I think we need more information to reproduce the issue. Could you please copy the
exception stack trace from the log winfow (red idon on the bottom right of FFDec)
But I'm almost sure that the work was not lost, only the script view was not refreshed
correctly. Did you try to save the SWF and reopen FFDec?
So I woke up this morning, read this, and then got on PC and opened the bad file (the one
I attached)... but it does not have the issue anymore! I made sure I exited JPEXS (even
killed all java in task manager) and it still opened right up. I assume maybe it had
something to do with the reboot... I have seen this issue before though, I will try to get
a trace next time, sorry :(
I remember something else though. The last things I was doing was adding a variable I
defined to another, and I think I used add2 instead of add on two numbers. I'm not sure
what the differences are (Is there a reference on instruction names?) but that is what
happened when I edited it, and it died.
"Is there a reference on instruction names?":
Check this: "ActionScript Virtual Machine 2 (AVM2) Overview" and "Summary of the AVM2
Next time when you see this problem, please copy the stack trace.