cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <DHo...@csir.co.za>
Subject Re: REPOST: Cocoon Forms - Javascript errors
Date Mon, 17 Jan 2005 06:25:55 GMT
Well, the Form.js file is the standard one supplied with Cocoon;
if that was faulty, I would assume every cforms app would fail
in some way....  perhaps my topic header should be titled
'Errors deleting repeated rows in nested CForm'.

>>> newsgroup@burknet.ch 2005/01/15 12:57:04 AM >>>
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 


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


Mime
View raw message