diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java index 874211d37..e490dc250 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/PropertyAVM2Item.java @@ -500,8 +500,10 @@ public class PropertyAVM2Item extends AssignableAVM2Item { Reference outPropTrait = new Reference<>(null); try { SourceGeneratorLocalData localData = new SourceGeneratorLocalData(new HashMap<>(), 0, false, 0); - localData.pkg = thisType.fullTypeName.getWithoutLast(); - localData.currentClassBaseName = thisType.fullTypeName.getLast(); + if (thisType != null) { + localData.pkg = thisType.fullTypeName.getWithoutLast(); + localData.currentClassBaseName = thisType.fullTypeName.getLast(); + } resolve(false, localData /*???*/, isType, objType, propType, propIndex, outPropValue, outPropValueAbc, outPropTrait);