NULL exception with JITCS