JNI - "0x77c40ac4" memory read error

Hi,

Iam calling a C++ method from java using JNI.

The C++ method is called using a global object.

On executing the java code

The method is executed successfully(i.e. the expected functionality has been achieved), but the following error is popped up

"The instruction at "0x77c40ac4" referenced memory at "0x0000000c". The memory could not be "read". Click on OK to terminate the program. "

Iam unable to get solution from any other forums.

Please help

Thanks in advance

[525 byte] By [eshocka] at [2007-11-27 11:38:37]
# 1

You have a bug in your C code - probably using a pointer which has not been initialized. (That's what makes it point to location 0.)

bschauwejavaa at 2007-7-29 17:21:16 > top of Java-index,Java Essentials,Java Programming...