You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Hess <pa...@ish.de> on 2004/01/13 14:52:07 UTC

woody form validation problem

Hi, I'm having a problem using woody which I can not find. Maybe someone 
  has an idea about it.

After filling out this form (one of dozends, displaying the form work 
fine) and submitting I'm getting around 1000 lines of exception. It's 
always the same, repeating at some point. In fact I'm getting the 
following over and over again:


org.outerj.expression.EqualsFunction.evaluate(EqualsFunction.java:8)
org.apache.cocoon.woody.datatype.validationruleimpl.AssertValidationRule.validate(AssertValidationRule.java:73)
org.apache.cocoon.woody.datatype.typeimpl.AbstractDatatype.validate(AbstractDatatype.java:73)
org.apache.cocoon.woody.formmodel.Field.getValue(Field.java:152)
org.apache.cocoon.woody.formmodel.ExpressionContextImpl.resolveVariable(ExpressionContextImpl.java:105)
org.outerj.expression.VariableFunction.evaluate(VariableFunction.java:26)
[... then starting again:]
org.outerj.expression.EqualsFunction.evaluate(EqualsFunction.java:8)



Unfortunaly I cannot find this exception(s) in any logfile (cocoon, 
weblogic, ...) and the amount of lines is exceeding my scrollback 
buffer... :(

Maybe someone has seen this messages or has an idea about what's going 
wrong here...

Thanks!
-- 
Patrick Hess



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form validation problem

Posted by Patrick Hess <pa...@ish.de>.
Antonio Gallardo wrote:

> Also where the flow script is broken at waht line? It would help.

Thank for the response! I'm not using flows because app has to run under 
Weblogic and I have no fix for WL that makes them usable... (If someone 
has tip for me... :)

I will check the definitions again and see if I can find something there.

Patrick


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form validation problem

Posted by Patrick Hess <pa...@ish.de>.
Antonio Gallardo wrote:

> From the below exception stack trace. I guess the problem is related to a
> bad validator. Concretly to a bad expression. Can you review your
> definitions in this way?

Great! Problem was caused by a <wd:assert> -- as I don't need it 
removing it fixed the problem. Thank a lot, now I'm ready to roll-out 
the app...

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form validation problem

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Patrick Hess dijo:

>From the below exception stack trace. I guess the problem is related to a
bad validator. Concretly to a bad expression. Can you review your
definitions in this way?

Also where the flow script is broken at waht line? It would help.

Best Regards,

Antonio Gallardo

>
> Hi, I'm having a problem using woody which I can not find. Maybe someone
>   has an idea about it.
>
> After filling out this form (one of dozends, displaying the form work
> fine) and submitting I'm getting around 1000 lines of exception. It's
> always the same, repeating at some point. In fact I'm getting the
> following over and over again:
>
>
> org.outerj.expression.EqualsFunction.evaluate(EqualsFunction.java:8)
> org.apache.cocoon.woody.datatype.validationruleimpl.AssertValidationRule.validate(AssertValidationRule.java:73)
> org.apache.cocoon.woody.datatype.typeimpl.AbstractDatatype.validate(AbstractDatatype.java:73)
> org.apache.cocoon.woody.formmodel.Field.getValue(Field.java:152)
> org.apache.cocoon.woody.formmodel.ExpressionContextImpl.resolveVariable(ExpressionContextImpl.java:105)
> org.outerj.expression.VariableFunction.evaluate(VariableFunction.java:26)
> [... then starting again:]
> org.outerj.expression.EqualsFunction.evaluate(EqualsFunction.java:8)
>
>
>
> Unfortunaly I cannot find this exception(s) in any logfile (cocoon,
> weblogic, ...) and the amount of lines is exceeding my scrollback
> buffer... :(
>
> Maybe someone has seen this messages or has an idea about what's going
> wrong here...
>
> Thanks!
> --
> Patrick Hess

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: woody form validation problem

Posted by Patrick Hess <pa...@ish.de>.
I wrote:

> Hi, I'm having a problem using woody which I can not find. Maybe someone 
>  has an idea about it.

Sorry -- forget some details on my environment:

- Windows 2k
- Java 1.4.1_b02
- Weblogic 7 SP1 (also tried Tomcat)

-- 
Patrick Hess


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org