Description
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));