From 01a4857c95d7871b11496da88e2438aec0f4d3f9 Mon Sep 17 00:00:00 2001 From: Honfika Date: Wed, 13 Nov 2013 23:02:33 +0100 Subject: [PATCH] nullpointer exception fixed --- .../decompiler/flash/abc/types/traits/TraitSlotConst.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java b/trunk/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java index 444c3d439..1f85eed66 100644 --- a/trunk/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java +++ b/trunk/src/com/jpexs/decompiler/flash/abc/types/traits/TraitSlotConst.java @@ -149,7 +149,11 @@ public class TraitSlotConst extends Trait implements TraitWithSlot { } @Override - public void convert(Trait parent, String path, List abcTags, ABC abc, boolean isStatic, ExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel) { + public void convert(Trait parent, String path, List abcTags, ABC abc, boolean isStatic, ExportMode exportMode, int scriptIndex, int classIndex, NulWriter writer, List fullyQualifiedNames, boolean parallel) throws InterruptedException { + getNameStr(writer, abc, fullyQualifiedNames); + if (assignedValue != null || value_kind != 0) { + getValueStr(parent, writer, abc, fullyQualifiedNames); + } } public boolean isConst() {