null handle transitions in cppbc native interface