Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6806

IllegalStateExceptionMapper, etc. should always log full stack trace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • Core Framework
    • None

    Description

      The IllegalStateExceptionMapper is used when any IllegalStateException makes its way all the way back to the web tier. This happens, for instance, if a Controller Service cannot be enabled. When this happens, the Exception Mapper only logs the stack trace if DEBUG is enabled. This is an old pattern that was followed during early releases to prevent such verbose logging, but this Exception Mapper needs to be updated to always log the stack traces. Otherwise, we have no way of knowing the underlying cause of the failure.

      IllegalArgumentExceptionMapper and a few others also appear to follow this same pattern and need to be updated.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: