fix nullpointer issue

This commit is contained in:
Daniella / Tove 2022-05-01 18:35:23 +02:00
parent b8530c9c28
commit 8d5181886c

View file

@ -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;
}