On Lun, 14 de Febrero de 2005, 14:23, Christoph Hermann dijo:
> Jakob Braeuchi schrieb:
>
> Hello,
>
>> what do you mean by 'crash' ? could you please post the exception.
>
> hmm of course, sorry that i forgot this :/
>
> The Exception is:
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: java.lang.RuntimeException:
> org.apache.avalon.framework.CascadingRuntimeException:
> "file:/usr/local/jakarta-tomcat-4.1.31/webapps/cocoon_2.1.6/samples/guschtel/nymphoon/flow/authentication.js",
line 318: uncaught JavaScript exception: at displayMenu
> (file:/usr/local/jakarta-tomcat-4.1.31/webapps/cocoon_2.1.6/samples/guschtel/nymphoon/flow/authentication.js,
Line 318):
>
> java.util.NoSuchElementException: Could not obtain next object: inner
hasNext was false
>
> 317: while ( it.hasNext() ) {
> 318: var o = it.next(); // crashes here
> 319: suggestions.add(o);
> 320: }
Thanks. This is inside Cocoon Flow. Seems that OJB has nothing to do in
this case. Please send more code of this Javascript. I would recommend to
move this business code to a java code and call it from your Flow
function. There are some small incompatibilities while manipulating Java
object inside Javascript.
I have interest in know how is declared "it". Which kind of object it is.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]