https://github.com/undertow-io/jastow/blob/efe20cd3da28cd566541a94ac54dfb3eec3d3b28/src/main/java/org/apache/jasper/servlet/JspServletWrapper.java#L550 Hi, "realException" can be null in case of "((ServletException) ex).getRootCause()" is null 