fix of two possible null pointer exceptions.
fix of two possible null pointer exceptions.
printedheart/opennars,printedheart/opennars,printedheart/opennars,printedheart/opennars,printedheart/opennars,printedheart/opennars