|
From: Andreas J. (EWU) <And...@am...> - 2001-04-25 00:19:01
|
Hi to ease the use of a Java library from Jython I have written conversion routines between PyDictionary and mylib.XClass. It works fine when I run this from the Jython interpreter, but when I want to test my conversion routines from Java (using JUnit) I get a NullPointerException at org.python.core.InternalTables.createInternalTables. This happens when I want to (e.g.) create a PyDictionary object. I guess I missed initializing the library somehow. Is there a system property I must set?? Using Jython-2.0. Please reply directly to me since I'm not (yet) part of the list. Thanks, Andreas |