Check for NULL java strings, init err buff with ???
Revert const err msg changes
NumInstances can be < 0