When enabling debugging I get the following output:
TCLBLEND_DEBUG: JNI_CreateJavaVM
TCLBLEND_DEBUG: JavaInitEnv returning successfully
TCLBLEND_DEBUG: initializing jcache
TCLBLEND_DEBUG: JavaSetupJava returning successfully
TCLBLEND_DEBUG: Now to create Interp object
TCLBLEND_DEBUG: Checking Tcl_GetNameOfExecutable()
TCLBLEND_DEBUG: Executable name is already known
TCLBLEND_DEBUG: called JavaInitBlend
Exception in thread "main" java.lang.NullPointerException: Invalid
interpreter.
at tcl.lang.Interp.getCommand(Native Method)
at tcl.lang.BlendExtension.init(BlendExtension.java:37)
TCLBLEND_DEBUG: Exception in init() method
TCLBLEND_DEBUG: JavaInitBlend returning
TCLBLEND_DEBUG: Tclblend_Init finished
TCLBLEND_DEBUG: JavaInitBlend returned TCL_ERROR
"package require java" failed with the following error
"XpUtils::iload -d /usr/local/lib/tcljava1.3.2 tclblend" failed:
java.lang.NullPointerException: Invalid interpreter.
TCLBLEND_DEBUG: called FreeJavaCache
TCLBLEND_DEBUG: called DestroyJVM
The error is from the file javaCmd.c:
somewhere in
/*
* Associate the interpreter data with the interp object.
*/
Tcl_SetAssocData(interp, "java", JavaInterpDeleted,
(ClientData)interpObj);
/*
* Initialize the BlendExtension.
*/
blend = (*env)->NewObject(env, jcache->BlendExtension, jcache->blendC);
(*env)->CallVoidMethod(env, blend, jcache->init, interpObj);
if (exception = (*env)->ExceptionOccurred(env)) {
(*env)->ExceptionDescribe(env);
(*env)->ExceptionClear(env);
obj = Tcl_GetObjResult(interp);
ToString(env, obj, exception);
(*env)->DeleteLocalRef(env, exception);
something goes wrong. Unfortunatly I do not understand the code well enough to
further investigate. Has anyone a clue for me?
Thanks,
wiwo
|