beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Feit <richf...@gmail.com>
Subject Re: netui-samples error
Date Fri, 09 Sep 2005 01:32:55 GMT
Ouch -- the validator-rules.xml file in WEB-INF is actually the one from
Struts 1.2.4.  This definitely needs to be fixed -- I'll get it in
tonight.  I'll also open a bug: this file shouldn't be checked into the
webapp; it should be part of a build process.

Thanks much for letting us know.

Rich

Eddie O'Neil wrote:

>  Heh...Interesting find.  I've actually heard rumors of this 1.2.4 >
>1.2.7 incompatability if it's the problem that's tracked in bugzilla
>here:
>
>    http://issues.apache.org/bugzilla/show_bug.cgi?id=35127
>
>Little more info might be available from the Struts wiki:
>
>    http://wiki.apache.org/struts/StrutsUpgradeNotes124to127
>
>  Glauber, is this the same issue?
>
>  Thanks for pointing that out.
>
>Eddie
>
>
>On 9/8/05, Glauber Adriano Reis <glauber.reis@gmail.com> wrote:
>  
>
>>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