beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glauber Adriano Reis <glauber.r...@gmail.com>
Subject netui-samples error
Date Fri, 09 Sep 2005 00:00:01 GMT
Folks,
I have just downloaded the latest available beehive nightly build to play around with its
samples.
There seems to be an error in netui-samples: "Validation samples" spawn an exception if I
use struts.jar
(1.2.7) that comes with the build, but if I use an older version (1.2.4) "Validation samples"
behave as expected.


That is what goes to tomcat log file:

Throwable: org.apache.commons.validator.ValidatorException: org.apache.struts.validator.FieldChecks.validateMinLength(java.lang.Object,

org.apache.commons.valid
ator.ValidatorAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessag
s, javax.servlet.http.HttpServletRequest)
Stack Trace:
org.apache.commons.validator.ValidatorException: org.apache.struts.validator.FieldChecks.validateMinLength(java.lang.Object,

org.apache.commons.validator.Valida
torAction, org.apache.commons.validator.Field, org.apache.struts.action.ActionMessages, javax.s
rvlet.http.HttpServletRequest)
         at org.apache.commons.validator.ValidatorAction.loadValidationMethod(ValidatorAction.java:627)
         at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:557)
         at org.apache.commons.validator.Field.validateForRule(Field.java:827)
         at org.apache.commons.validator.Field.validate(Field.java:906)
         at org.apache.commons.validator.Form.validate(Form.java:174)
         at org.apache.commons.validator.Validator.validate(Validator.java:367)
         at org.apache.beehive.netui.pageflow.FormData.validateBean(FormData.java:185)
         at org.apache.beehive.netui.pageflow.internal.AnyBeanActionForm.validate(AnyBeanActionForm.java:89)
         at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:928)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:600)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:886)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:613)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

Mime
View raw message