[
https://issues.apache.org/jira/browse/WICKET-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866117#action_12866117
]
Martin Grigorov commented on WICKET-2858:
-----------------------------------------
As a last resort you can always extend WicketSessionFilter and copy/paste the
body of doFilter() and fix it locally.
> WicketSessionFilter: java.lang.IllegalArgumentException: Argument application
> can not be null
> ---------------------------------------------------------------------------------------------
>
> Key: WICKET-2858
> URL: https://issues.apache.org/jira/browse/WICKET-2858
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.4.8
> Reporter: Teemu Nykänen
> Fix For: 1.4.9
>
>
> Due to WICKET-2778 application is now attached to ThreadLocal but
> application is only fetched via Application.get(filterName) if:
> if (httpSession != null)
> {
> if (sessionKey == null)
> {
> application = (WebApplication)
> Application.get(filterName);
> This will create problems at line 197:
> Application.set(application);
> and might cause java.lang.IllegalArgumentException: Argument application can
> not be null to be thrown
> I guess application should be instance variable or line 197 should be
> something like this:
> Application.set(Application.get(filterName));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.