The ForwardResolution don't clean the previous event causing the error 
net.sourceforge.stripes.exception.StripesRuntimeException: Multiple event 
parameters [jsp, forward, init] are present in this request. Only one event 
parameter may be specified per req
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: STS-866
                 URL: http://www.stripesframework.org/jira/browse/STS-866
             Project: Stripes
          Issue Type: Bug
          Components: ActionBean Dispatching
    Affects Versions: Release 1.5.6
            Reporter: Andrea Burrini
         Attachments: TestActionBean.java, test.jsp

Stack trace/log:
23:03:46,484 DEBUG StripesFilter:218 - LocalePicker selected locale: it_IT
23:03:46,489 DEBUG StripesFilter:227 - LocalePicker did not pick a character 
encoding, using default: null
23:03:46,494 DEBUG UrlBindingFactory:141 - No URL binding matches /test.jsp
23:03:46,617 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,627 DEBUG DefaultValidationMetadataProvider:273 - Loaded validations 
for ActionBean TestActionBean: <none>
23:03:46,628 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,631 DEBUG DefaultFormatterFactory:218 - Caching Formatter for class 
java.lang.String => class net.sourceforge.stripes.format.ObjectFormatter
23:03:46,648 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,650 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,695 DEBUG UrlBindingFactory:141 - No URL binding matches 
/Stripes-1.5.6-examples/examples/Test.action?forward=&url=%2Ftest.jsp
23:03:46,695 DEBUG UrlBindingFactory:141 - No URL binding matches 
/Stripes-1.5.6-examples/examples/Test.action?forward=&url=%2Ftest.jsp
23:03:46,696 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,697 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:46,697 DEBUG UrlBindingFactory:141 - No URL binding matches 
/examples/Test.action?forward=&url=%2Fexamples%2FTest.action%3Fjsp%3D
23:03:46,698 DEBUG UrlBindingFactory:141 - No URL binding matches 
/examples/Test.action?forward=&url=%2Fexamples%2FTest.action%3Fjsp%3D
23:03:53,935 DEBUG StripesFilter:218 - LocalePicker selected locale: it_IT
23:03:53,936 DEBUG StripesFilter:227 - LocalePicker did not pick a character 
encoding, using default: null
23:03:53,936 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:53,959  INFO ExpressionValidator:62 - Expression validation will be 
performed using: 
net.sourceforge.stripes.validation.expression.CommonsElExpressionExecutor
23:03:53,962 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
RequestInit
23:03:53,970 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
ActionBeanResolution
23:03:53,970 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:53,973 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:53,980 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
HandlerResolution
23:03:53,980 DEBUG DispatcherHelper:184 - Resolved event: init; will invoke: 
TestActionBean.init()
23:03:53,985 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
BindingAndValidation
23:03:53,991 DEBUG DefaultActionBeanPropertyBinder:459 - Running required field 
validation on bean class net.sourceforge.stripes.examples.TestActionBean
23:03:54,010 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
CustomValidation
23:03:54,014 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
EventHandling
23:03:54,019 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,020 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,022 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
ResolutionExecution
23:03:54,024 DEBUG HttpCacheInterceptor:77 - Looking for HttpCache on 
net.sourceforge.stripes.examples.TestActionBean.init()
23:03:54,027 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,027 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,043 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
RequestInit
23:03:54,043 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
ActionBeanResolution
23:03:54,044 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,045 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,045 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
HandlerResolution
23:03:54,046 DEBUG DispatcherHelper:184 - Resolved event: forward; will invoke: 
TestActionBean.forward()
23:03:54,046 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
BindingAndValidation
23:03:54,047 DEBUG DefaultActionBeanPropertyBinder:459 - Running required field 
validation on bean class net.sourceforge.stripes.examples.TestActionBean
23:03:54,048 DEBUG DefaultActionBeanPropertyBinder:288 - Could not bind 
property with name [url] to bean of type: TestActionBean : Bean class 
net.sourceforge.stripes.examples.TestActionBean does not contain a property 
called 'url'. As a result the following expression could not be evaluated: url
23:03:54,049 DEBUG DefaultActionBeanPropertyBinder:288 - Could not bind 
property with name [init] to bean of type: TestActionBean : Bean class 
net.sourceforge.stripes.examples.TestActionBean does not contain a property 
called 'init'. As a result the following expression could not be evaluated: init
23:03:54,050 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
CustomValidation
23:03:54,050 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
EventHandling
23:03:54,050 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
ResolutionExecution
23:03:54,051 DEBUG HttpCacheInterceptor:77 - Looking for HttpCache on 
net.sourceforge.stripes.examples.TestActionBean.forward()
23:03:54,051 DEBUG UrlBindingFactory:141 - No URL binding matches 
/examples/Test.action?jsp=
23:03:54,052 DEBUG UrlBindingFactory:141 - No URL binding matches 
/examples/Test.action?jsp=
23:03:54,052 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
RequestInit
23:03:54,053 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
ActionBeanResolution
23:03:54,053 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,054 DEBUG UrlBindingFactory:120 - Matched /examples/Test.action to 
/examples/Test.action
23:03:54,055 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
HandlerResolution
23:03:54,057 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
RequestComplete
23:03:54,060 ERROR [StripesDispatcher]:719 - Servlet.service() for servlet 
StripesDispatcher threw exception
net.sourceforge.stripes.exception.StripesRuntimeException: Multiple event 
parameters [jsp, forward, init] are present in this request. Only one event 
parameter may be specified per request. Otherwise, Stripes would be unable to 
determine which event to execute.
    at 
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getEventNameFromRequestParams(AnnotatedClassActionResolver.java:528)
    at 
net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getEventName(AnnotatedClassActionResolver.java:479)
    at 
net.sourceforge.stripes.controller.DispatcherHelper$2.intercept(DispatcherHelper.java:163)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
    at 
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    at 
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
    at 
net.sourceforge.stripes.controller.DispatcherHelper.resolveHandler(DispatcherHelper.java:156)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.resolveHandler(DispatcherServlet.java:246)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:144)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
    at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
    at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at 
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
    at 
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
    at 
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    at 
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    at 
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
    at 
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
    at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
    at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at 
net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:110)
    at 
net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:508)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
    at 
net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    at 
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
    at 
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
    at 
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
    at 
net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:502)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
    at 
net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:247)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619)
23:03:54,063 DEBUG ExecutionContext:150 - Transitioning to lifecycle stage 
RequestComplete


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to