Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8055

Log errors at initialization failure of EjbcaWebBeanImpl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.1.0
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Another issue
    • Sprint:
      EJBCA Team Bob - 2019 w13

      Description

      Log errors at initialization failure of EjbcaWebBeanImpl, with full stack trace if debug logging is turned on.

      Currently, errors are logged without any details.

      To reproduce
      Access /ejbca/adminweb/ca/getcrl/getcrl without a client certificate on port 8442 (for example, there are probably many other ways to trigger this logging bug)

      Expected result
      Both stack trace and authorization denied failure logged

      Actual result
      Only "Adding throwable NullPointerException: null" logged, not useful at all.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel Samuel Lidén Borell
                Reporter:
                samuel Samuel Lidén Borell
                Verified by:
                Ulf Undmark
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m