You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <DH...@csir.co.za> on 2005/01/12 15:04:50 UTC

REPOST: Cocoon Forms - Javascript errors

{posted a month ago; maybe lost in the Christmas rush??}

I am getting the following message from Cocoon when I attempt
to delete repeater row data from a form (note that adding data in
the same form works just fine!); this is from the handled-errors log:

ERROR   (2004-12-14) 16:20.55:811   [sitemap.handled-errors]
(/cocoon215/soc/55581112040b1d2219463c867547407070841a6e.continue)
Thread-19/PipelineNode: uncaught JavaScript exception: 
at form2xml
(file:/opt/jakarta-tomcat-4.1.18/webapps/cocoon215/soc/flow/form_binding.js,
Line 54)
at  (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line
127):
java.lang.NullPointerException
org.apache.avalon.framework.CascadingRuntimeException: uncaught
JavaScript exception: 
at form2xml
(file:/opt/jakarta-tomcat-4.1.18/webapps/cocoon215/soc/flow/form_binding.js,
Line 54)
at  (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line
127):
java.lang.NullPointerException

The form DOES contain nested repeater rows (if that could make a
difference....)

Any help or hints as to what or where the cause could be would
be appreciated!

Thanks,
Derek

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


Re: REPOST: Cocoon Forms - Javascript errors

Posted by Stefan Burkard <ne...@burknet.ch>.
hi derek

have you ever looked into the file Form.js (line 127)? perhaps you get a 
hint what's causing this nullpointer-exception...

stefan

Derek Hohls wrote:
> {posted a month ago; maybe lost in the Christmas rush??}
> 
> I am getting the following message from Cocoon when I attempt
> to delete repeater row data from a form (note that adding data in
> the same form works just fine!); this is from the handled-errors log:
> 
> ERROR   (2004-12-14) 16:20.55:811   [sitemap.handled-errors]
> (/cocoon215/soc/55581112040b1d2219463c867547407070841a6e.continue)
> Thread-19/PipelineNode: uncaught JavaScript exception: 
> at form2xml
> (file:/opt/jakarta-tomcat-4.1.18/webapps/cocoon215/soc/flow/form_binding.js,
> Line 54)
> at  (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line
> 127):
> java.lang.NullPointerException
> org.apache.avalon.framework.CascadingRuntimeException: uncaught
> JavaScript exception: 
> at form2xml
> (file:/opt/jakarta-tomcat-4.1.18/webapps/cocoon215/soc/flow/form_binding.js,
> Line 54)
> at  (resource://org/apache/cocoon/forms/flow/javascript/Form.js, Line
> 127):
> java.lang.NullPointerException
> 
> The form DOES contain nested repeater rows (if that could make a
> difference....)
> 
> Any help or hints as to what or where the cause could be would
> be appreciated!
> 
> Thanks,
> Derek


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