You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gabriel Bucher (JIRA)" <ji...@apache.org> on 2010/09/09 05:27:32 UTC

[jira] Created: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

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.


[jira] Updated: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-3039:
----------------------------------

    Fix Version/s: 1.5-M2.1
                       (was: 1.5-M3)

> 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
>            Assignee: Juergen Donnerstag
>             Fix For: 1.5-M2.1
>
>
> 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.


[jira] Commented: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907546#action_12907546 ] 

Gabriel Bucher commented on WICKET-3039:
----------------------------------------

usecase: wicketstuff push: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jdk-1.6-parent/push-parent/push-examples/
apparently if you are using cometd the WicketServlet is preferred.

i can create a quickstart if you like.

> 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.


[jira] Commented: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Ernesto Reinaldo Barreiro (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907545#action_12907545 ] 

Ernesto Reinaldo Barreiro commented on WICKET-3039:
---------------------------------------------------

Juergen,

I know WicketServlet is needed for running Wicket on OSGi applications as AFAIK OSGi especification does not support filters. Thus NOT supporting Wicket Servlet will break existing applications.

Kinds regards,

Ernesto

> 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.


[jira] Closed: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag closed WICKET-3039.
--------------------------------------

    Fix Version/s: 1.5-M3
       Resolution: Fixed

fixed

> 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
>            Assignee: Juergen Donnerstag
>             Fix For: 1.5-M3
>
>
> 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.


[jira] Assigned: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag reassigned WICKET-3039:
------------------------------------------

    Assignee: Juergen Donnerstag

> 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
>            Assignee: Juergen Donnerstag
>
> 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.


[jira] Commented: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (WICKET-3039) WicketServlet failes to initialise with NullPointerException in WebXmlFile.getFilterPath()

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907666#action_12907666 ] 

Igor Vaynberg commented on WICKET-3039:
---------------------------------------

there is also websphere with its broken filter support and osgi where it is easier to use a servlet, although i hear thats been getting better.

> 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.