[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sdx-users] xsl debugging
From: |
Emmanuel Bégué |
Subject: |
[sdx-users] xsl debugging |
Date: |
Sat, 25 Jan 2003 19:27:46 +0100 |
> (j'ai toujours un problème de parsing xsl, mais bon ça n'est
> pas trop grave -- sauf que c'est dur à déboguer puisqu'on ne
> sait jamais où est l'erreur).
=> existe-t-il un moyen de retrouver la ligne qui pose problème
depuis les descriptions d'erreur que je reproduis ci-dessous?
(sachant que ma feuille results.xsl fonctionne bien en local
et est même validée par le débogueur de xmlspy -- et que j'en
ai retiré tous les appels à des templates externes...)
Cdt,
EB
*** full exception chain stacktrace ***
Original exception : java.lang.NullPointerException at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.
java:654) at
com.icl.saxon.aelfred.SAXDriver.startElement(SAXDriver.java:757) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1036) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510) at
com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163) at
com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320) at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:269) at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:226) at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea
mSource.java:206) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:268) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239) at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298) at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141) at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:317) at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:153) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContext.invoke(Unknown Source) at
org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:430) at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:499) at
java.lang.Thread.run(Thread.java:484)
*** stacktrace ***
org.apache.cocoon.ProcessingException: Exception during processing of
file:/WEBS/bayardweb/www.bayardweb.com/docs/mag/sdx/mag/xsl/results.xsl:
java.lang.NullPointerException at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea
mSource.java:211) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:268) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239) at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298) at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141) at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:317) at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:153) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContext.invoke(Unknown Source) at
org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:430) at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:499) at
java.lang.Thread.run(Thread.java:484)java.lang.NullPointerException at
org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.
java:654) at
com.icl.saxon.aelfred.SAXDriver.startElement(SAXDriver.java:757) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1036) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222) at
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037) at
com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510) at
com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163) at
com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320) at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:269) at
org.apache.avalon.excalibur.xml.JaxpParser.parse(JaxpParser.java:226) at
org.apache.cocoon.components.source.AbstractStreamSource.toSAX(AbstractStrea
mSource.java:206) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:268) at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:239) at
org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:
298) at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(Ab
stractEventPipeline.java:215) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEven
tPipeline.java:278) at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(Cachi
ngEventPipeline.java:141) at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:317) at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:153) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85) at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:156) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140) at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109) at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:328) at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardContext.invoke(Unknown Source) at
org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source) at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at
org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:430) at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:499) at
java.lang.Thread.run(Thread.java:484)
- Re: RE : [sdx-users] Admin sdxworld, (continued)
- RE: RE : [sdx-users] Admin sdxworld, Emmanuel Bégué, 2003/01/24
- Re: RE : [sdx-users] Admin sdxworld, Pierrick Brihaye, 2003/01/24
- RE: RE : [sdx-users] Admin sdxworld, Emmanuel Bégué, 2003/01/24
- Re: RE : [sdx-users] Admin sdxworld, Pierrick Brihaye, 2003/01/24
- RE : RE : [sdx-users] Admin sdxworld, Martin Sevigny, 2003/01/25
- RE: RE : RE : [sdx-users] Admin sdxworld, Emmanuel Bégué, 2003/01/25
- [sdx-users] xsl debugging,
Emmanuel Bégué <=
- Re: [sdx-users] xsl debugging, Pierrick Brihaye, 2003/01/26
- RE: [sdx-users] xsl debugging, Emmanuel Bégué, 2003/01/26
- RE: [sdx-users] xsl debugging, Emmanuel Bégué, 2003/01/26
- RE : [sdx-users] xsl debugging, Martin Sevigny, 2003/01/26
- RE: RE : [sdx-users] xsl debugging, Emmanuel Bégué, 2003/01/26
- RE: [sdx-users] xsl debugging, Frédéric Glorieux, 2003/01/27
- Re: [sdx-users] xsl debugging, Pierrick Brihaye, 2003/01/27
- RE: [sdx-users] xsl debugging, Emmanuel Bégué, 2003/01/27
- RE: RE : RE : [sdx-users] Admin sdxworld, Emmanuel Bégué, 2003/01/26