You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Kohei Nozaki (JIRA)" <ji...@apache.org> on 2014/12/29 10:27:13 UTC

[jira] [Updated] (ROL-2057) NPE at PageServlet.doGet() on WildFly

     [ https://issues.apache.org/jira/browse/ROL-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kohei Nozaki updated ROL-2057:
------------------------------
    Attachment: ROL-2057.patch

> NPE at PageServlet.doGet() on WildFly
> -------------------------------------
>
>                 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
>         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)