Stack Trace Explainer

Paste any error output and get a plain-English breakdown — what the error type means, which line crashed, and what likely caused it. Supports Python, JavaScript, and Java.

Python JavaScript Java
Try:

Error type reference

Python

AttributeErrorattribute doesn't exist (often NoneType)
TypeErrorwrong type — e.g. str + int
NameErrorvariable not defined in scope
KeyErrordict key missing — use .get()
IndexErrorlist index out of range (0 to len-1)
ValueErrorright type, wrong value — e.g. int("abc")
ModuleNotFoundErrorpackage not installed — pip install it
RecursionErrorinfinite recursion — missing base case
ZeroDivisionErrordivided by zero
FileNotFoundErrorfile path doesn't exist

JavaScript

TypeErrorproperty of undefined/null, or not a function
ReferenceErrorvariable used before declared
RangeErrormax call stack (recursion) or bad array size
SyntaxErrorcode couldn't be parsed

Java

NullPointerExceptionused a null reference
ArrayIndexOutOfBoundsarray index out of range
ClassCastExceptioninvalid type cast
StackOverflowErrorinfinite recursion
NumberFormatExceptionstring isn't a valid number
IllegalArgumentExceptionargument fails precondition
ConcurrentModificationmodified collection while iterating