-
Bug
-
Resolution: Done
-
Major
-
WFK 1.0.0.CR5
-
None
Affects WFK 1.0.0.CR5
Visitting the following URL
http://localhost:8080/struts-examples-1.3.8/validator/switchI18nExample.do
causes the following exception in the server log:
May 29, 2009 12:53:14 PM org.apache.struts.webapp.validator.LocaleAction execute
SEVERE: Unknown property 'page' on dynaclass 'DynaActionFormBean[name=localeForm,language/class java.lang.String,country/class java.lang.String]'
java.lang.NoSuchMethodException: Unknown property 'page' on dynaclass 'DynaActionFormBean[name=localeForm,language/class java.lang.String,country/class java.lang.String]'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1302)
at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:611)
at org.apache.struts.webapp.validator.LocaleAction.execute(LocaleAction.java:99)
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:166)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:175)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:166)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Nevertheless, from the user's point of view, the application works as expected.