cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rottmann, Lars" <Lars.Rottm...@vodafone.com>
Subject 'Invisible' transformer exception
Date Fri, 13 Feb 2004 15:58:08 GMT

Hello,

I'm sorry to come up again with an error message, but I just encountered
this problem:

We work heavily with XSL templates in our stylesheets, and it happened that
I forgot to define one template. So the transformer now tried to call this
non-defined template, but of course failed.

Instead of Cocoon presenting me an standard error page I just got nothing,
only an empty page. And the log files did not report anything either. 

When I switched Cocoon to debug mode, the cocoon-core.log showed the below
attached exception. Is it possible to turn this debug message into an real
error message that is always printed to the logs?

Best regards

Lars


DEBUG   (2004-02-13) 16:26.12:571   [core.xslt-processor] (/vsky/index.preg)
xmla-49/XSLTProcessorImpl: Got SAXException. Rethrowing cause exception.
javax.xml.transform.TransformerException: ElemTemplateElement error:
special-portal
        at
org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHandler.j
ava:502)
        at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)
        at
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:162)
        at
org.apache.excalibur.xml.xslt.XSLTProcessorImpl.sourceToSAX(XSLTProcessorImp
l.java:401)
        at
org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndVali
dity(XSLTProcessorImpl.java:315)
        at
org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTPr
ocessorImpl.java:262)
        at
org.apache.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTPr
ocessorImpl.java:252)
        at
org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer
.java:390)
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.connect(Abs
tractProcessingPipeline.java:449)
        at
org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline.connect
CachingPipeline(CachingProcessingPipeline.java:139)
        at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.connectPipeline(AbstractCachingProcessingPipeline.java:677)
        at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:500)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:147)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectN
ode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNod
e.java:66)
        at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.
java:128)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectN
ode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectN
ode.java:138)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:176)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:176)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNod
e.java:66)
        at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.
java:128)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
        at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:176)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNod
e.java:66)
        at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.
java:128)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:163)
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:152)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:354)
        at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:307)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
        at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1723)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:514)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1673)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:783)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:945)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:800)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)



Vodafone Global Content Services Limited 
Registered Office:  Vodafone House, The Connection, Newbury, Berkshire  RG14 2FN

Registered in England No. 4064873 

This e-mail is for the addressee(s) only.  If you are not an addressee, you
must not distribute, disclose, copy, use or rely on this e-mail or its
contents, and you must immediately notify the sender and delete this e-mail
and all copies from your system.  Any unauthorised use may be unlawful.  The
information contained in this e-mail is confidential and may also be legally
privileged.


Mime
View raw message