You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kayode Odeyemi (Commented) (JIRA)" <ji...@apache.org> on 2012/02/05 12:09:53 UTC

[jira] [Commented] (WICKET-3769) WicketSessionFilter and HttpSessionStore use different attribute name for Wicket Session

    [ https://issues.apache.org/jira/browse/WICKET-3769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200719#comment-13200719 ] 

Kayode Odeyemi commented on WICKET-3769:
----------------------------------------

I added Session.bind() to the constructor of my WebSession subclass(UserSession), then I called UserSession.get() in the servlet. But I'm still getting the exception: java.lang.IllegalArgumentException: Argument 'requestCycle' may not be null. 

Please let me know, how do I get access to RequestCycle in the servlet. My servlet is added to a Page using the Include component. On the Page, I have getSession() overridden and in the servlet I tried to retrieve it using UserSession.get().

Any suggestions please.

Thanks
                
> WicketSessionFilter and HttpSessionStore use different attribute name for Wicket Session
> ----------------------------------------------------------------------------------------
>
>                 Key: WICKET-3769
>                 URL: https://issues.apache.org/jira/browse/WICKET-3769
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-RC4
>         Environment: N/A
>            Reporter: Ivan Vasilev
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC5
>
>         Attachments: quickstart.rar, quickstart2.rar, quickstart2.rar
>
>
> from this topic 
> http://apache-wicket.1842946.n4.nabble.com/WicketSessionFilter-and-ignorePaths-in-WicketFilter-td3570291.html
> Please, look at the second post (the ignorePaths param is not linked with this issue as the title suggests).
> How to reproduce with the quickstart:
> 1. open localhost:8080 - a wicket test page is displayed.
> 2. open localhost:8080/external - this is the external servlet that tries to access the wicket session. An exception is thrown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira