Uploaded image for project: 'Clojure'
  1. CLJ-449

NullPointerException in clojure.stacktrace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Completed
    • Affects versions: None
    • Fix versions: Backlog
    • Labels:
      None
    • Approval:
      Ok

      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.

        Attachments

          Activity

            People

            • Assignee:
              stuart.sierra Stuart Sierra
              Reporter:
              stuart.sierra Stuart Sierra
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: