Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.0, 2.18.1, 2.18.2, 2.18.3, 2.19.0
-
None
-
Novice
Description
There's a potential NPE lurking in DefaultUndertowHttpBinding. We have this logic:
// we failed due to an exception so print it as plain text StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); exception.getCause().printStackTrace(pw);
Unfortuantely, exception.getCause() is not always guaranteed to be present and may be null.
Attachments
Issue Links
- links to