Re: [tcljava-user] tclblend init error on linux
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-08-02 08:48:18
|
On Tue, 2 Aug 2005 16:40:43 +0900 "Yuji Ishikawa" <yu-...@se...> wrote: > Hi, > > I am having a trouble with installing tclBlend 1.3.2 with thread2.6.2 and > tcl8.4.11 > on Linux (Fedora core 4). It seems initializing tclBlend extension threw an > exception. Does anybody suggest how I can fix this problem? Thanks. ... > 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:39) Humm, strange indeed. Could you check that Tcl is passing its own regression tests before moving on to Tcl Blend? In the Tcl build dir run "make test" and then do the same thing in the thread build dir. If lots of test fail then there may be something more basic wrong with the Tcl build under Fedora. This is a new distro with a new compiler so it is best to start checking the basics before looking deeper into what is going on in Tcl Blend. As far as the Tcl Blend error goes, it is being raised in Java_tcl_lang_Interp_getResult defined in javaInterp.c. I see some test cases that generate this error, but I don't think they are exactly the same as what is going on here. (from javaInterp.test) test javaInterp-6.1 {Java_tcl_lang_Interp_getResult} { set i [java::new tcl.lang.Interp] $i dispose list [catch {$i getResult} msg] $msg } {1 {java.lang.NullPointerException: Invalid interpreter.}} Also, where did you get this j2sdk1.4.2_08 release from? And this is a 32 bit Intel type machine you are using? cheers Mo DeJong |