Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.1.1
-
None
-
WildFly8.2.0.Final
Description
After I finish procedures of official installation guide for JBoss,
and I create a new blog, but the blog can't be visible.
URLs of the top page or the blog are always returning status 500,
and many NPEs are dumped on logs. like this:
<snip>
Caused by: java.lang.NullPointerException
at io.undertow.servlet.spec.ServletContextImpl.getMimeType(ServletContextImpl.java:192)
at org.apache.roller.weblogger.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:423)
<snip>
It looks like that the cause is came from WildFly implementation of ServletContext.
(https://github.com/undertow-io/undertow/blob/master/servlet/src/main/java/io/undertow/servlet/spec/ServletContextImpl.java)
It has no null-check of the argument.