null pointer check on context2 jic