[
https://issues.apache.org/jira/browse/WICKET-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523794
]
Thomas Singer commented on WICKET-878:
--------------------------------------
Although I'm using wicket's trunk at rev. 570773, I'm still getting the above
assertion.
Maybe I'm doing something obvious wrong: I'm trying the invoke Session.get()
in the doFilter() method of my Filter implementation.
> IllegalStateException accessing Session.get() from own Resource implementation
> ------------------------------------------------------------------------------
>
> Key: WICKET-878
> URL: https://issues.apache.org/jira/browse/WICKET-878
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta2
> Reporter: Thomas Singer
> Assignee: Matej Knopp
> Fix For: 1.3.0-beta4
>
>
> I'm getting following assertion:
> java.lang.IllegalStateException: you can only locate or create sessions in
> the context of a request cycle
> org.apache.wicket.Session.findOrCreate(Session.java:250)
> org.apache.wicket.Session.get(Session.java:279)
> com.syntevo.hpsmart.DownloadResource.getResourceStream(DownloadResource.java:18)
>
> org.apache.wicket.protocol.http.WicketFilter.getLastModified(WicketFilter.java:708)
>
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
> See this thread for details:
> http://www.nabble.com/DownloadLink-hanging-tf4299990.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.