JNI: Converting char* to jstring

Hello all, i was wondering if there is another alternative to env->NewStringUTF(ajstring);in converting char* to jstring as NewStringUTF causes my app to crash.thanks
[197 byte] By [Aldricha] at [2007-11-27 3:42:05]
# 1
Have you tried debugging the application to see why exactly that method is crashing?Finding alternatives is not a solution, there is a problem here that you need to figure out. Are you sure env is valid? Are you sure ajstring is a valid string (null-terminated for example)?
gimbal2a at 2007-7-12 8:45:39 > top of Java-index,Java Essentials,Java Programming...
# 2
just woke up and im still investigating, im gonna post results after investigation.
Aldricha at 2007-7-12 8:45:39 > top of Java-index,Java Essentials,Java Programming...