|
From: Jayson S B. <js...@ci...> - 2001-02-08 02:35:14
|
Hiho, I'm a developer who is trying to embed Python code into Java, so of course I came to Jython. When trying to run your example after compiling, I get the following stack dump: Exception in thread "main" java.lang.NullPointerException at org.python.core.PyJavaClass.lookup(PyJavaClass.java:39) at org.python.core.PyObject.<init>(PyObject.java:46) at org.python.core.PySingleton.<init>(PySingleton.java:8) at org.python.core.PyNone.<init>(PyNone.java:7) at org.python.core.PySystemState.initStaticFields(PySystemState.java:341) at org.python.core.PySystemState.initialize(PySystemState.java:320) at org.python.core.PySystemState.initialize(PySystemState.java:294) at org.python.core.PySystemState.initialize(PySystemState.java:287) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:61) at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:45) at SimpleEmbedded.main(SimpleEmbedded.java:6) Any idea what's causing this? no one has mentioned it in the FAQ's or the list archives... Jayson Baird js...@ci... |