Re: Null Pointer Exception at com.ocpsoft.pretty.PrettyContext.getCurrentMapping …

Splash Forums PrettyFaces Users Null Pointer Exception at com.ocpsoft.pretty.PrettyContext.getCurrentMapping … Re: Null Pointer Exception at com.ocpsoft.pretty.PrettyContext.getCurrentMapping …

#20524

Could you try to add this to your web.xml:

<filter>
<filter-name>Pretty Filter</filter-name>
<filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>Pretty Filter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ASYNC</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>

This should not be necessary with a Servlet 3.0 container, but you could try it! :-)