From b6a085f561b33b2b49ac001c9cae8802f1be1f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 4 Apr 2026 20:56:18 +0200 Subject: [PATCH] test: fix tests --- .../flash/abc/avm2/parser/script/PropertyAVM2Item.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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);