Message4410

Author doublep
Recipients doublep
Date 2009-04-02.14:45:40
SpamBayes Score 5.5007865e-07
Marked as misclassified No
Message-id <1238683545.05.0.370120914663.issue1299@psf.upfronthosting.co.za>
In-reply-to
Content
Setting to major, because this gives me no idea what I'm doing wrong
(probably nothing).  Used to work fine with 2.5b0, gives this with 2.5b1:

java.lang.NullPointerException: java.lang.NullPointerException

	at org.python.core.PyException.fillInStackTrace(PyException.java:65)
	at java.lang.Throwable.<init>(Throwable.java:181)
	at java.lang.Exception.<init>(Exception.java:29)
	at java.lang.RuntimeException.<init>(RuntimeException.java:32)
	at org.python.core.PyException.<init>(PyException.java:46)
	at org.python.core.PyException.<init>(PyException.java:43)
	at org.python.core.Py.JavaError(Py.java:453)
	at org.python.core.PyTableCode.call(PyTableCode.java:169)
	at org.python.core.PyBaseCode.call(PyBaseCode.java:170)
	at org.python.core.PyFunction.__call__(PyFunction.java:312)
	at org.python.pycode._pyx1.f$0(<string>:1)
	at org.python.pycode._pyx1.call_function(<string>)
	at org.python.core.PyTableCode.call(PyTableCode.java:166)
	at org.python.core.PyCode.call(PyCode.java:14)
	at org.python.core.Py.runCode(Py.java:1206)
	at org.python.core.Py.exec(Py.java:1237)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:124)
        ...
Caused by: java.lang.NullPointerException
	at org.python.core.PyObjectDerived.__tojava__(PyObjectDerived.java:1125)
	at org.python.core.Py.tojava(Py.java:471)
	at org.python.core.PyBeanProperty._doset(PyBeanProperty.java:61)
	at org.python.core.PyObject.__set__(PyObject.java:3629)
	at org.python.core.PyObject.object___setattr__(PyObject.java:3689)
	at org.python.core.PyObject.object___setattr__(PyObject.java:3678)
	at org.python.core.PyObject$object___setattr___exposer.__call__(Unknown
Source)
	at org.python.core.PyObjectDerived.__setattr__(PyObjectDerived.java:1026)
	at
org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructor.java:142)
	at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:130)
	at org.python.core.PyMethod.__call__(PyMethod.java:99)
	at
org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:1097)
	at org.python.core.PyType.invoke_new_(PyType.java:352)
	at org.python.core.PyType.type___call__(PyType.java:1200)
	at org.python.core.PyType.__call__(PyType.java:1191)
	at org.python.pycode._pyx0.service$1(/py/login.py:57)
	at org.python.pycode._pyx0.call_function(/py/login.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:166)

I cannot provide small example.

It seems that PyObjectDerived.__tojava__ is called with null 'c' argument.
History
Date User Action Args
2009-04-02 14:45:45doublepsetrecipients: + doublep
2009-04-02 14:45:45doublepsetmessageid: <1238683545.05.0.370120914663.issue1299@psf.upfronthosting.co.za>
2009-04-02 14:45:43doubleplinkissue1299 messages
2009-04-02 14:45:40doublepcreate