Date: Tue, 18 Nov 2003 15:40:00 -0500 From: "Michael E. Mercer" <mmercer@nc.rr.com> To: freebsd-java@freebsd.org Subject: I'm stumped... JNI crashes JVM Message-ID: <1069187999.74803.10.camel@dual.mmercer.com>
index | next in thread | raw e-mail
Hello Peoples,
This is on FreeBSD 4.9-Stable, with the latest 1.4.2p5 JDK.
I am trying to allocate an object array "NewObjectArray()"
where I verified busClass, initID, and env are not NULL.
the call is:
array = (*env)->NewObjectArray(env, 1, busClass,
(*env)->CallObjectMethod(env, busClass, initID));
This line crashes the JVM... if I change
(*env)->CallObjectMethod(env, busClass, initID) ---> NULL
then it continues until it reaches this line:
(*env)->SetObjectArrayElement(env, array,0, jobjectBus);
crashes the JVM...
Any ideas to what I am doing wrong?
Thanks
Michael
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1069187999.74803.10.camel>
