From: SourceForge.net <no...@so...> - 2006-08-05 20:21:14
|
Bugs item #1533624, was opened at 2006-08-02 23:00 Message generated for change (Comment added) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1533624&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Charles Groves (cgroves) Assigned to: Nobody/Anonymous (nobody) Summary: NPE thrown building traceback for a call in invokeAndWait Initial Comment: Anand Chitipothu sent this into jython dev and user. http://article.gmane.org/gmane.comp.lang.jython.user/4726 The exception occurs when jython code calls SwingUtilities.invokeAndWait(or anything that puts code on a thread and waits for its result) and the code run on the event dispatch thread throws an exception. When a jython call descends into more jython code running on another thread, the frame right after the threads separate doesn't have f_back set to the previous frame. Since PyTableCode uses f_back to build tracebacks this throws an NPE. ---------------------------------------------------------------------- >Comment By: Charles Groves (cgroves) Date: 2006-08-05 15:21 Message: Logged In: YES user_id=1174327 Sounds like a good idea to me. I just added a simplified version of Anand's initial code as test389. ---------------------------------------------------------------------- Comment By: Khalid Zuberi (kzuberi) Date: 2006-08-03 15:54 Message: Logged In: YES user_id=18288 Would it make sense to add a bugtest for this to guard against future regressions? - kz ---------------------------------------------------------------------- Comment By: Charles Groves (cgroves) Date: 2006-08-02 23:07 Message: Logged In: YES user_id=1174327 Fixed in r2870. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1533624&group_id=12867 |