Issue1812122
Created on 2007-10-12.09:10:44 by bleon, last changed 2007-11-30.21:22:16 by cgroves.
File name |
Uploaded |
Description |
Edit |
Remove |
traceback_test.py
|
bleon,
2007-10-12.09:10:44
|
Example file to reproduce NullPointerException |
|
|
msg1970 (view) |
Author: Bettina (bleon) |
Date: 2007-10-12.09:10:44 |
|
The attached file was tested with the current developer version of jython and with cpython 2.2.3 and 2.5.1.
While the script is running successfully with cpython, jython throws a NullPointerException.
Suggested patch in Py.java:
additional check (pye.traceback.tb_frame.f_back != null) in functions:
PyException setException(Throwable t, PyFrame frame)
void addTraceback(Throwable t, PyFrame frame)
|
msg1971 (view) |
Author: Charlie Groves (cgroves) |
Date: 2007-11-30.21:22:16 |
|
Suggested fix committed in r3743. Thanks!
|
|
Date |
User |
Action |
Args |
2007-10-12 09:10:44 | bleon | create | |
|