Cocoon stacktrace[hide]
context:/emunch/xsl/eMunchView.xsl - 1355:-1 |
context:/emunch/xsl/eMunchView.xsl - 1355:-1 | [XPathException] |
context:/emunch/sitemap.xmap - 928:34 | <map:serialize type="xhtml"> |
context:/emunch/sitemap.xmap - 927:46 | <map:transform> |
context:/emunch/sitemap.xmap - 926:69 | <map:generate> |
context:/sitemap.xmap - 904:98 | <map:mount> |
Java stacktrace[hide]
; SystemID: file:///var/lib/tomcat7/webapps/cocoon/emunch/xsl/eMunchView.xsl; Line#: 1355; Column#: -1 net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the second argument of contains() ("", "") at net.sf.saxon.expr.Expression.typeError(Expression.java:975) at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:224) at net.sf.saxon.functions.Contains.effectiveBooleanValue(Contains.java:30) at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:212) at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:212) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:747) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Template.expand(Template.java:246) at net.sf.saxon.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:448) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:326) at net.sf.saxon.instruct.ApplyTemplates$ApplyTemplatesPackage.processLeavingTail(ApplyTemplates.java:592) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:326) at net.sf.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:219) at net.sf.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:180) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:229) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:354) at net.sf.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:219) at net.sf.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:180) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:335) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Template.expand(Template.java:246) at net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:265) at net.sf.saxon.instruct.CallTemplate.processLeavingTail(CallTemplate.java:289) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:229) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:354) at net.sf.saxon.Controller.transformDocument(Controller.java:1849) at net.sf.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:144) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) at org.exist.util.serializer.ReceiverToSAX.endDocument(ReceiverToSAX.java:81) at org.exist.storage.serializers.XIncludeFilter.endDocument(XIncludeFilter.java:164) at org.exist.storage.serializers.NativeSerializer.serializeToReceiver(NativeSerializer.java:110) at org.exist.storage.serializers.Serializer.toSAX(Serializer.java:835) at org.exist.xmldb.LocalXMLResource.getContentAsSAX(LocalXMLResource.java:288) at org.apache.cocoon.components.source.impl.XMLDBSource.resourceToSAX(XMLDBSource.java:310) at org.apache.cocoon.components.source.impl.XMLDBSource.toSAX(XMLDBSource.java:277) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:351) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829)
Java full stacktrace[hide]
org.apache.cocoon.ProcessingException: Could not read resource xmldb:exist:///db/emunch/finished/PN1279.xml at [XPathException] - file:///var/lib/tomcat7/webapps/cocoon/emunch/xsl/eMunchView.xsl:1355 at <map:serialize type="xhtml"> - file:///var/lib/tomcat7/webapps/cocoon/emunch/sitemap.xmap:928:34 at <map:transform> - file:///var/lib/tomcat7/webapps/cocoon/emunch/sitemap.xmap:927:46 at <map:generate> - file:///var/lib/tomcat7/webapps/cocoon/emunch/sitemap.xmap:926:69 at <map:mount> - file:///var/lib/tomcat7/webapps/cocoon/sitemap.xmap:904:98 at org.apache.cocoon.components.source.SourceUtil.handleSAXException(SourceUtil.java:502) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:118) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:351) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: org.apache.commons.lang.exception.NestableRuntimeException: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the second argument of contains() ("", "") at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:604) at org.exist.util.serializer.ReceiverToSAX.endDocument(ReceiverToSAX.java:81) at org.exist.storage.serializers.XIncludeFilter.endDocument(XIncludeFilter.java:164) at org.exist.storage.serializers.NativeSerializer.serializeToReceiver(NativeSerializer.java:110) at org.exist.storage.serializers.Serializer.toSAX(Serializer.java:835) at org.exist.xmldb.LocalXMLResource.getContentAsSAX(LocalXMLResource.java:288) at org.apache.cocoon.components.source.impl.XMLDBSource.resourceToSAX(XMLDBSource.java:310) at org.apache.cocoon.components.source.impl.XMLDBSource.toSAX(XMLDBSource.java:277) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:321) at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:116) ... 48 more Caused by: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the second argument of contains() ("", "") at net.sf.saxon.expr.Expression.typeError(Expression.java:975) at net.sf.saxon.expr.CardinalityChecker.evaluateItem(CardinalityChecker.java:224) at net.sf.saxon.functions.Contains.effectiveBooleanValue(Contains.java:30) at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:212) at net.sf.saxon.expr.BooleanExpression.effectiveBooleanValue(BooleanExpression.java:212) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:747) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Template.expand(Template.java:246) at net.sf.saxon.instruct.CallTemplate$CallTemplatePackage.processLeavingTail(CallTemplate.java:448) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:326) at net.sf.saxon.instruct.ApplyTemplates$ApplyTemplatesPackage.processLeavingTail(ApplyTemplates.java:592) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:326) at net.sf.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:219) at net.sf.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:180) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:229) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:354) at net.sf.saxon.instruct.ApplyTemplates.apply(ApplyTemplates.java:219) at net.sf.saxon.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:180) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:335) at net.sf.saxon.instruct.Choose.processLeavingTail(Choose.java:754) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Template.expand(Template.java:246) at net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:265) at net.sf.saxon.instruct.CallTemplate.processLeavingTail(CallTemplate.java:289) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:619) at net.sf.saxon.instruct.Instruction.process(Instruction.java:93) at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:301) at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:229) at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:354) at net.sf.saxon.Controller.transformDocument(Controller.java:1849) at net.sf.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:144) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:586) ... 58 more
The Apache Cocoon Project