If the first tag encountered in the form file is an <xf:repeat> in an <xf:group> the 'value_' is null and causes an exception. I think the form has to be new as well.
Original Exception: java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:79)
at org.apache.cocoon.transformation.XMLFormTransformer.unrollRepeatTag(XMLFormTransformer.java:1027)
at org.apache.cocoon.transformation.XMLFormTransformer.endTransformingElement(XMLFormTransformer.java:922)
at org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractSAXTransformer.java:355)
at org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
I made this happen with the following changes to start.xml, but it happens in my own forms as well.
<?xml version="1.0" ?>
<document xmlns:xf="http://apache.org/cocoon/xmlform/1.0">
<section>
<title>Welcome !</title>
<p align="center">
This wizard will collect feedback information
for the <a href="http://cocoon.apache.org/">Apache Cocoon</a>
project.
</p>
<xf:group ref="/" id="favorites_group">
<xf:caption>Favorite web sites</xf:caption>
<xf:repeat nodeset="/" id="favorites">
<xf:output ref="." class="info">
<xf:caption>URL: </xf:caption>
</xf:output>
</xf:repeat>
</xf:group>
<p align="center">
See <a href="overview.html">overview</a> documentation.
</p>
<p align="center">
<a href="wizard?cocoon-action-start=true">
Start!
</a>
</p>
</section>
</document>
- RE: [Flow] Serious problem with cocoon.getComponent(id) Reinhard P�tz
- Re: [Flow] Serious problem with cocoon.getComponen... Christopher Oliver
- RE: [Flow] Serious problem with cocoon.getComp... Reinhard P�tz
- Re: [Flow] Serious problem with cocoon.get... Corey O'Donovan
- Re: [Flow] Serious problem with cocoon... reinhard_poetz
- Re: [Flow] Serious problem with c... Corey O'Donovan
- RE: [Flow] Serious problem wi... Reinhard P�tz
- Re: [Flow] Serious problem with cocoon.getComponen... Christopher Oliver
- Mark Miller
