You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/05/11 19:41:41 UTC
[jira] Resolved: (WICKET-2858) WicketSessionFilter:
java.lang.IllegalArgumentException: Argument application can not be null
[ https://issues.apache.org/jira/browse/WICKET-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2858.
-----------------------------------
Assignee: Igor Vaynberg
Fix Version/s: 1.5-M1
Resolution: Fixed
> 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
> Assignee: Igor Vaynberg
> Fix For: 1.4.9, 1.5-M1
>
>
> 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.