JNI Problem - GetStringChars giving core dump after few repititve operation
Posted on 2001-06-21
value = (char *) (*env)->GetStringUTFChars( env,str,NULL);
Above piece of code gets executed for each field of an Java object. It gives a core dump after executing successfully for some field at one specefic point.
Re-arranging the position of the field also gives the error after certain number of execution.
I don't do anything with the value as well, just retrieve it and then release it. It still gives an error.