This discussion is archived
1 Reply Latest reply: Jan 6, 2012 3:29 PM by jschellSomeoneStoleMyAlias RSS

Unusual  NoSuchMethodError  thrown by GetMethodID  while making a JNI call

909414 Newbie
Currently Being Moderated
Hi 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.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points