[
https://issues.apache.org/jira/browse/ROL-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Johnson closed ROL-2057.
------------------------------
5.1.2 released
> Missing NPE check in Roller PageServlet class
> ---------------------------------------------
>
> Key: ROL-2057
> URL: https://issues.apache.org/jira/browse/ROL-2057
> Project: Apache Roller
> Issue Type: Bug
> Components: User Interface - General
> Affects Versions: 5.1.1
> Environment: WildFly8.2.0.Final
> Reporter: Kohei Nozaki
> Assignee: Roller Unassigned
> Fix For: 5.1.2
>
> Attachments: ROL-2057.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)