From 8d5181886c8666d138134b11ffb60fbf19115890 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 1 May 2022 18:35:23 +0200 Subject: [PATCH] fix nullpointer issue --- bootstrap/ISBPL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/ISBPL.java b/bootstrap/ISBPL.java index 023386f..d70c7cc 100644 --- a/bootstrap/ISBPL.java +++ b/bootstrap/ISBPL.java @@ -973,7 +973,7 @@ public class ISBPL { ISBPLObject nullObj = null; public ISBPLObject getNullObject() { - if(nullObj == null) + if(nullObj == null || nullObj.type == null) nullObj = new ISBPLObject(getType("null"), 0); return nullObj; }