cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Shaw <r...@silveregg.co.jp>
Subject No more DTM IDs are available?
Date Thu, 08 Nov 2001 13:04:31 GMT
I am using Cocoon to generate PDF documentation as part of a build
process, as in the Jakarta Avalon project.

Very often, I get a "No more DTM IDs are available" exception (see
complete trace below) and the build fails. This appears to be a Xalan
exception.

However, it does not happen every time. I can find no pattern to
when it happens and when it doesn't.

I am using Xalan Java version 2.2.D11. I did not have this problem
with the version I was using previously (Xalan Java version 2.2.D8),
but I had to upgrade to the latest version due to bugs in D8 (it was
screwing up import precedence of attribute sets).

Can anyone tell me 1) what a DTM ID is (api docs are unhelpful) and
2) how I can avoid this problem?

Thanks,

Ryan

org.apache.xml.dtm.DTMException: No more DTM IDs are available
        at 
org.apache.xml.dtm.ref.DTMManagerDefault.getFirstFreeDTMID(DTMManagerDefault.java(Compiled

Code))
        at 
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:184)
        at org.apache.xpath.XPathContext.getDTM(XPathContext.java:169)
        at 
org.apache.xalan.transformer.TransformerImpl.transformToRTF(TransformerImpl.java:1703)
        at 
org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java(Compiled 
Code))
        at 
org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java(Compiled 
Code))
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:430)
        at 
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java(Compiled 
Code))
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java(Compiled 
Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java(Compiled 
Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java(Compiled 
Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java(Compiled 
Code))
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java(Compiled

Code))
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java(Compiled 
Code))
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:423)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:423)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:226)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
        at 
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:177)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:678)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
        at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3135)
        at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:48)
        at 
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:48)
        at 
org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:59)
        at 
org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
        at 
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1079)
        at 
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1555)
        at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
        at 
org.apache.cocoon.components.parser.JaxpParser.parse(JaxpParser.java:110)
        at 
org.apache.cocoon.components.source.URLSource.toSAX(URLSource.java:331)
        at 
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:107)
        at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:210)
        at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:350)
        at 
org.apache.cocoon.www.sitemap_xmap.wildcardMatchN400059(sitemap_xmap.java:534)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:434)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:392)
        at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
        at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
        at org.apache.cocoon.Main.getType(Main.java:659)
        at org.apache.cocoon.Main.processURI(Main.java:512)
        at org.apache.cocoon.Main.process(Main.java:431)
        at org.apache.cocoon.Main.main(Main.java:300)




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message