Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9362

Break cycles in exception stack traces

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.3.0.Final
    • Fix Version/s: 9.4.0.Final, 9.3.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      As most of the core became non-blocking, the exception stack traces became less relevant, because as the exception is re-thrown on multiple threads yet the stack trace only shows the initial thread.

      ISPN-8893 improved this in some methods that are still blocking by catching an ExecutionException, adding it to the suppressed list of the cause, and rethrowing the cause. However, cycles in the exception trace is not properly supported by all loggers, e.g. logback only has a fix in the not yet released version 1.3.0.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.berindei Dan Berindei
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: