Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

unhandled exception in java.exe (JVM.dll):0xC0000005: Access Violation

843829Apr 15 2003 — edited Apr 16 2003
I have a global JNIEnv and jobject in C++; I have those values in C++ class from JNI wraper. I used env->GetObjectClass in C++ to get jclass, but when I call env->GetMethodID, I got "unhandled exception in java.exe (JVM.dll):0xC0000005: Access Violation"

The code is running under VC++6.0 debug mode.

Here is what I am trying to do: Whenever the event occurs in C++ class, I need to call one of JNI wraper method.

Can anybody help? Or have any ideas about calling JNI wraper from C++ events class?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2003
Added on Apr 15 2003
1 comment
549 views