[Open Office] 64bit Sun JDK 1.5.0.06 - JNI exception

Hanno Meyer-Thurow h.mth at web.de
Tue May 23 16:58:23 EDT 2006


Hi list,
I found some users that tested ooc680-m2 with Sun JDK 1.5 on amd64.
I traced it to this piece returning NULL and therefor throwing the 'JNI exception'.
To be exact the CallObjectMethodA function returns NULL.

# grep -n -A 3 -B 1 CallObjectMethodA stoc/source/javavm/javavm.cxx 
1773-    jclass class_UnoClassLoader = static_cast< jclass >(
1774:        environment->CallObjectMethodA(cl1, method_loadClass, args));
1775-    if (class_UnoClassLoader == 0) {
1776-        handleJniException(environment);
1777-    }

May that be a bug in 64bit Sun JDK 1.5?
Well, I have no idea. :)


Regards,
Hanno


More information about the Openoffice mailing list