[
https://issues.apache.org/struts/browse/WW-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso resolved WW-2736.
---------------------------------
Resolution: Cannot Reproduce
I just tried this on IE 7 and the token example in showcase and works as
expected. Maybe the synchronization bug fixes fixed this. If you are still
getting the NPE with trunk (2.1), feel free to re-open it and add more details.
> Token session interceptor still firing Nullpointer exceptions under Internet
> Explorer 7
> ---------------------------------------------------------------------------------------
>
> Key: WW-2736
> URL: https://issues.apache.org/struts/browse/WW-2736
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 2.0.11, 2.0.11.1, 2.0.11.2, 2.1.0, 2.1.1, 2.1.2
> Environment: IE7, tomcat 6.0.16, struts 2.0.11
> Reporter: Anton Tonchev
> Fix For: 2.1.3
>
>
> It didn't handle the multiple submit clicks (more than two) - they ended in
> blank screen with address pointing to the update action and a null pointer
> exception in the console:
> java.lang.NullPointerException
> at
> org.apache.catalina.connector.Response.toAbsolute(Response.java:1485)
> at
> org.apache.catalina.connector.Response.encodeRedirectURL(Response.java:1090)
> at
> org.apache.catalina.connector.ResponseFacade.encodeRedirectURL(ResponseFacade.java:377)
> at
> javax.servlet.http.HttpServletResponseWrapper.encodeRedirectURL(HttpServletResponseWrapper.java:84)
> at
> de.hybris.platform.util.RootRequestFilter$HybrisResponseWrapper.encodeRedirectURL(RootRequestFilter.java:347)
> at
> javax.servlet.http.HttpServletResponseWrapper.encodeRedirectURL(HttpServletResponseWrapper.java:84)
> at
> org.apache.struts2.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:146)
> at
> org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
> at
> org.apache.struts2.dispatcher.ServletActionRedirectResult.execute(ServletActionRedirectResult.java:189)
> at
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
> at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
> at
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
> at
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
> at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
> at
> com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
> at
> com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
> at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
> at
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
> at
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
> The double clicks worked ok, and returned the user to the expected page
> without doing the action twice.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.