Message882
Sometimes when creating an Instance of a class the
following Exception will happen:
java.lang.NullPointerException
at
org.python.core.PyJavaClass.setConstructors(PyJavaClass.java)
at
org.python.core.PyJavaClass.initConstructors(PyJavaClass.java)
at
org.python.core.PyJavaClass.__call__(PyJavaClass.java)
at org.python.core.PyObject.__call__(PyObject.java)
Jython appears to have trouble creating an instance of
classes that were dynamically added.
WORKAROUND...
To avoid this problem, put the class in Java's
Classpath before starting Jython. |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:17 | admin | link | issue861150 messages |
2008-02-20 17:17:17 | admin | create | |
|