Fix NPE in JNI while handling int arrays, VPP-559

No match.