cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject List of Docs fails during build docs
Date Sun, 30 Dec 2001 14:42:53 GMT
The "List of Docs" functionality to generate a Table of
Contents has a strange problem. Everything is OK when
you run it as a webapp. See the Welcome page under
the "Documentation" section.

However, if this is linked in to the actual xdocs, then i get
a fatal error when running "build docs". I have disabled the
link in xdocs/book.xml by commenting it out. Bring it back
and you will see the following error.

------
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.sitemap.ContentAggregator to
the pool
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.transformation.TraxTransformer
to the pool
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.transformation.TraxTransformer
to the pool
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.transformation.TraxTransformer
to the pool
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.components.pipeline.CachingEventPipeline
to the pool
DEBUG   10097   [        ] (): Recycling of CachingStreamPipeline
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.serialization.LinkSerializer
to the pool
DEBUG   10097   [        ] (): Returning a org.apache.cocoon.components.pipeline.CachingStreamPipeline
to the pool
FATAL_E 10097   [        ] (): Error in TraxTransformer: javax.xml.transform.TransformerException:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
javax.xml.transform.TransformerException: java.lang.StringIndexOutOfBoundsException: String
index out of range: 0
        at org.apache.xalan.transformer.ClonerToResultTree.cloneToResultTree(ClonerToResultTree.java:269)
        at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:152)
        at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:420)
...
...
...
        at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
        at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:48)
        at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:115)
...
...
...
------

Does anyone have a clue as to the cause of such a thing?
--David Crossley

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


Mime
View raw message