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!

Problem The memory could not be "read".

843829Sep 1 2003 — edited Sep 9 2003
I am making some program using jni creating JVM in C++ , I am using VC++ 6.0 .

In One function I initialize JVM, and make some class objets and call their methods. It is fine up to here.

But there is problem when I call second method using the same jvm. When returning from it I got Exeception.

---------------------------
app2.exe - Application Error
---------------------------
The instruction at "0x6d5a2f3e" referenced memory at "0x00000004". The memory could not be "read".


Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK Cancel
---------------------------

I put out prints before leaving the the second method . It is appearing.

Please can any one help me.

Thanks in Advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2003
Added on Sep 1 2003
16 comments
431 views