cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: [Woody] - JXPathException
Date Fri, 24 Oct 2003 19:59:49 GMT


Antonio Gallardo wrote:

> Hi:
> 
> I am trying to save the bean back from the woody form.
> 
> I am getting this error:
> 
> org.apache.commons.jxpath.JXPathException: Exception trying to remove
> xpath .; Cannot modify property: test.forms.AreasList.areasList; No write
> method
> 
> What is means? What kind of method is expected to be there?
> 

not sure, but my immediate reflex was a missing setXXX() ?

and looking at the two 'areasList' in the error: maybe you have one too 
much there?

-marc=


> Best Regards,
> 
> Antonio Gallardo
> 
> The stacktrace is here:
> 
> org.apache.avalon.framework.CascadingRuntimeException: uncaught JavaScript
> exception:
> at listform
> (file:/home/desarrollo/tomcat/webapps/ait/docs/areas/forms/list/flow.js,
> Line 23)
> at  (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line 199):
> org.apache.commons.jxpath.JXPathException: Exception trying to remove
> xpath .; Cannot modify property: test.forms.AreasList.areasList; No write
> method
> 	at
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:618)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:164)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:155)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:132)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)
> 	at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
> 	at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:155)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:354)
> 	at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:307)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:649)
> 	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1111)
> 
> 

-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at              http://radio.weblogs.com/0116284/
mpo@outerthought.org                              mpo@apache.org


Mime
View raw message