Message882

Author nobody
Recipients
Date 2003-12-16.18:26:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-02-20 17:17:17adminlinkissue861150 messages
2008-02-20 17:17:17admincreate