Bug triage from a stack trace
Stack trace: {TRACE} Context: {STACK / FRAMEWORK}. Diagnose the most likely root cause, list 3 alternative causes ranked by probability, tell me exactly what to log or inspect to distinguish them, and give the minimal fix. No speculation presented as fact.

