https://bz.apache.org/bugzilla/show_bug.cgi?id=69634

            Bug ID: 69634
           Summary: NullPointerException in JsonErrorReportValve
           Product: Tomcat 10
           Version: 10.1.39
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: alexand...@gmx.net
  Target Milestone: ------

When Throwable and response message passed to
org.apache.catalina.valves.JsonErrorReportValve.report(Request, Response,
Throwable) are null, the implementation thows a NullPointerException.

https://github.com/apache/tomcat/blob/791c9c3c95206e6c08e5b3fbea23e97c0e87463c/java/org/apache/catalina/valves/JsonErrorReportValve.java#L73
https://github.com/apache/tomcat/blob/791c9c3c95206e6c08e5b3fbea23e97c0e87463c/java/org/apache/catalina/valves/JsonErrorReportValve.java#L86

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to