cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [showstopper] NPE in CForms MultivalueJXPathBinding
Date Mon, 21 Mar 2005 20:40:41 GMT


Sylvain Wallez wrote:
> Go to http://localhost:8888/samples/blocks/forms/form2xml.flow and click 
> "Submit Query"...
> 
> java.lang.NullPointerException
>    at 
> org.apache.cocoon.forms.binding.MultiValueJXPathBinding$1.createObject(MultiValueJXPathBinding.java:111)

> 
>    at 
> org.apache.commons.jxpath.ri.model.dom.DOMNodePointer.createChild(DOMNodePointer.java:382)

> 
>    at 
> org.apache.commons.jxpath.ri.model.beans.NullPropertyPointer.createPath(NullPropertyPointer.java:125)

> 
>    at 
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.createPath(JXPathContextReferenceImpl.java:447)

> 
>    at 
> org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.createPath(JXPathContextReferenceImpl.java:427)

> 
>    at 
> org.apache.cocoon.forms.binding.MultiValueJXPathBinding.doSave(MultiValueJXPathBinding.java:131)

> 
>    ...
> 
> Giacomo, any idea?

My guess is that you tried to bind to an XML file. In this case I think 
I do not have an implementation for it (only for Collection type of nodes)

-- 
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

Mime
View raw message