You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/09/09 09:09:33 UTC
[jira] Commented: (WICKET-3039) WicketServlet failes to initialise
with NullPointerException in WebXmlFile.getFilterPath()
[ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907540#action_12907540 ]
Juergen Donnerstag commented on WICKET-3039:
--------------------------------------------
As you probably know, we favor Filter over Servelts. Please explain why you must use Servlet. A quickstart with the details would be helpful as well.
> WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()
> ------------------------------------------------------------------------------------------
>
> Key: WICKET-3039
> URL: https://issues.apache.org/jira/browse/WICKET-3039
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-M1
> Reporter: Gabriel Bucher
>
> java.lang.NullPointerException: null
> at org.apache.wicket.util.file.WebXmlFile.getFilterPath(WebXmlFile.java:148) ~[wicket-util-1.5-SNAPSHOT.jar:1.5-SNAPSHOT]
> at org.apache.wicket.util.file.WebXmlFile.getFilterPath(WebXmlFile.java:77) ~[wicket-util-1.5-SNAPSHOT.jar:1.5-SNAPSHOT]
> at org.apache.wicket.util.file.WebXmlFile.getFilterPath(WebXmlFile.java:60) ~[wicket-util-1.5-SNAPSHOT.jar:1.5-SNAPSHOT]
> at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:264) ~[wicket-1.5-SNAPSHOT.jar:1.5-SNAPSHOT]
> at org.apache.wicket.protocol.http.WicketServlet.init(WicketServlet.java:254) ~[wicket-1.5-SNAPSHOT.jar:1.5-SNAPSHOT]
> at javax.servlet.GenericServlet.init(GenericServlet.java:241) ~[servlet-api-2.5.jar:2.5]
> WebXmlFile.getFilterPath tries to retrieve the url-pattern of filter-mapping/filter-name... but in the case of a servlet, filter-mapping does not exists... it should be serlvet-mapping/servlet-name.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.