Issue2258
 
            
            
            
Created on 2015-01-19.10:50:27 by doublep, last changed 2020-06-02.17:41:33 by doublep. 
 |
 
   | msg9424 (view) | Author:  (doublep) | Date: 2015-01-19.10:50:26 |  |  
   | I had a bug in Java code that resulted in a stack overflow. However, this code was called from Jython, so the only message I received was "maximum recursion depth exceeded", with all further information silently removed. To understand what was going on, I had to catch StackOverflowError in Java code and print it.
Request: Jython should print the stacktrace in StackOverflowError, at least when it comes from Java code. |  
   | msg9427 (view) | Author: Jim Baker (zyasoft) | Date: 2015-01-19.16:43:03 |  |  
   | It's a good idea. For now, maybe try in your Python code:
org.python.core.Options.showJavaExceptions = True |  
   | msg11752 (view) | Author: Jeff Allen (jeff.allen) | Date: 2018-03-06.20:02:38 |  |  
   | Isn't that a better approach in any case, whatever the error, once you suspect faulty Java code? It should perhaps be better known. |  
   | msg13092 (view) | Author:  (doublep) | Date: 2020-06-02.17:41:33 |  |  
   | Bitten by it yet again. Setting 'showJavaException' does nothing here, perhaps because Jython is deeply built into a Java application and doesn't have direct access to stdout. |  |
 
| Date | User | Action | Args |  | 2020-06-02 17:41:33 | doublep | set | messages:
  + msg13092 versions:
  + Jython 2.7.2, - Jython 2.7
 |  | 2018-03-06 20:02:38 | jeff.allen | set | priority: low nosy:
  + jeff.allen
 messages:
  + msg11752
 components:
  + Documentation
 milestone: Jython 2.7.2 ->
 |  | 2015-12-29 23:43:35 | zyasoft | set | milestone: Jython 2.7.1 -> Jython 2.7.2 |  | 2015-04-20 21:12:26 | zyasoft | set | milestone: Jython 2.7.1 versions:
  + Jython 2.7, - Jython 2.5
 |  | 2015-01-19 16:43:03 | zyasoft | set | nosy:
  + zyasoft messages:
  + msg9427
 |  | 2015-01-19 10:50:27 | doublep | create |  | 
 |