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.

#2084 java.lang.NullPointerException
Author:
zolaz

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

Hello...i got an error when trying to check as scripts package inside the SWF file. Error
that show is like this and im also upload the SWF file in this thread. thanks in advance.
24/09/2023 12:36:32 SEVERE Decompilation error in: Combat/Battle.endBattleAndCallAmf
java.lang.NullPointerException: Cannot invoke
"com.jpexs.decompiler.graph.GraphTargetItem.isCompileTime()" because "v.value" is null
at
com.jpexs.decompiler.flash.abc.avm2.model.NewObjectAVM2Item.isCompileTime(NewObjectAVM2Ite
m.java:126)
at com.jpexs.decompiler.graph.GraphTargetItem.isCompileTime(GraphTargetItem.java:376)
at
com.jpexs.decompiler.flash.abc.avm2.model.LocalRegAVM2Item.<init>(LocalRegAVM2Item.java:53
)
at
com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.GetLocalTypeIns.translate(GetLo
calTypeIns.java:186)
at
com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition.translate(Instructi
onDefinition.java:218)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toSourceOutput(AVM2Code.java:1634)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2GraphSource.translatePart(AVM2GraphSource.ja
va:116)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:2281)
at com.jpexs.decompiler.graph.Graph.printGraph(Graph.java:1535)
at com.jpexs.decompiler.graph.Graph.translate(Graph.java:655)
at
com.jpexs.decompiler.flash.abc.avm2.graph.AVM2Graph.translateViaGraph(AVM2Graph.java:656)
at com.jpexs.decompiler.flash.abc.avm2.AVM2Code.toGraphTargetItems(AVM2Code.java:2063)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:311)
at com.jpexs.decompiler.flash.abc.types.MethodBody$1.call(MethodBody.java:303)
at com.jpexs.helpers.CancellableWorker$3.doInBackground(CancellableWorker.java:152)
at com.jpexs.helpers.CancellableWorker$1.call(CancellableWorker.java:61)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at com.jpexs.helpers.CancellableWorker.run(CancellableWorker.java:78)
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:1623)
