Unusual NoSuchMethodError thrown by GetMethodID while making a JNI call
909414Jan 6 2012 — edited Jan 6 2012Hi All,
I am using Java 1.6 on solaris and I am calling a method of a java class from a c program. As part of JNI procedure to call this java method, I sometimes get NoSuchMethodError thrown by Jni's GetMethodID which I will be calling before CallVoidMethodV. Strange thing is , I don't get this error every time. My program frequently invokes a java method from c program based on some events and at certain times I get this error. Any input on this problem will be really helpful.
Regards
Prem