Re: [tcljava-user] Error "make install" Tclblend 1.3.2
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-10-14 09:25:09
|
On Mon, 10 Oct 2005 12:10:55 +0800 "Adrian Tan" <ah...@te...> wrote: Hi Adrian > Exception in thread "main" java.lang.NullPointerexception: Invalid interpreter. > > at tcl.land.Interp.getCommand(Native Method) > > at tcl.land.BlendExtension.init(BlendExtension.java:39) Humm, this is very odd. The interp pointer being passed via JNI seems to be NULL somehow. I don't see how that could happen. I looked back at the mailing list archive and the only other person to report a problem like this was also running Fedora, so that makes me think this problem may have something to do with the Java impl on that platform. First off, could you run the Tcl regression tests? In the directory where you build Tcl, run "make test" and see if that passes the tests. If everything looks ok from the Tcl side, then could you try the attached patch? Just apply it from the root of your Tcl Blend install and then rebuild? I don't see how these extra asserts could be triggered, it is just an extra sanity check. If you could also add -DTCLBLEND_DEBUG to the CFLAGS def in the generated Makefile and then run `make shell` along with "package require java" in the Tcl shell, that would really be helpful. You can just post the output written to the shell here. thanks Mo DeJong |