We're updating the issue view to help you get more done. 

NullPointerException in clojure.stacktrace

Description

See http://groups.google.com/group/clojure-dev/browse_thread/thread/f4157c68df730bd9

  • clojure.stacktrace/print-trace-element tries to match StackTraceElement.getClass against a regex.

  • StackTraceElement.getClass returns null, so a NullPointerException gets thrown, totally obscuring the original exception.

Now, the null is supposedly impossible, according to the Javadocs for StackTraceElement. But in some rare cases it seems to happen.

Environment

None

Status

Assignee

Stuart Sierra

Reporter

Stuart Sierra

Labels

None

Approval

Ok

Patch

None

Fix versions

Priority

Blocker