|
From: <bc...@wo...> - 2001-02-14 10:12:41
|
[George K. Thiruvathukal] >This happens: >Exception in thread "main" Traceback (innermost last): > File "<string>", line 1, in ? > File "/webhome/servlets/gkt/WEB-INF/classes/./Test2app.py", line 10, in ? >java.lang.ExceptionInInitializerError: java.lang.NullPointerException > at org.python.modules.os.<clinit>(os.java:11) This is a little stupid bug I introduced in org.python.module.os. It occur when sys.prefix is null and that can happen when jython is embedded and compiled with jythonc. As you have seen, setting python.home prevents the exception. The bug is fixed in the CVS. regards, finn |