cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Hermann <christoph.herm...@guschtel.de>
Subject Exception using auto-generated Forms in 2.1.8
Date Mon, 19 Dec 2005 13:32:57 GMT
Hello,

I don't know if this should be like this, i just wanted to inform you:

In 2.1.8 i get an exception using this construct:

<ft:widget id="substring">
	<fi:styling list-type="checkbox" checked="checked" />
</ft:widget>

whereas it worked fine in 2.1.7.

If i change the fi:styling to ft:styling (i vs t) everything is fine
(took me really long to find this!).

The exception is:

org.apache.cocoon.ProcessingException: Failed to process pipeline
	at <map:serialize type="html"> - file:/C:/...path/to/sitemap.xmap:846:61
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:845:92
	at <map:transform type="encodeURL"> -
file:/C:/...path/to/sitemap.xmap:844:67
	at <map:transform type="i18n"> - file:/C:/...path/to/sitemap.xmap:840:68
	at <map:transform type="linkrewriter"> -
file:/C:/...path/to/sitemap.xmap:838:92
	at <map:transform type="cinclude"> -
file:/C:/...path/to/sitemap.xmap:837:66
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:833:84
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:832:88
	at <map:generate type="search"> - file:/C:/...path/to/sitemap.xmap:828:83
	at <map:mount> -
file:/C:/downloads/programme/cocoon/eucostip/build/cocoon/webapp/sitemap.xmap:796:66
	at
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:951)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:582)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:183)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:480)
	at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:679)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
	at [TransformerException] -
file:/C:/...path/to/stylesheets/xsl/searchfields2form_tpl.xsl:23:32
	at <map:serialize type="xml"> - file:/C:/...path/to/sitemap.xmap:916:60
	at <map:transform type="i18n"> - file:/C:/...path/to/sitemap.xmap:912:68
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:910:98
	at <map:generate> - file:/C:/...path/to/sitemap.xmap:909:77
	at <map:serialize type="xml"> - file:/C:/...path/to/sitemap.xmap:881:60
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:864:84
	at <map:transform type="i18n"> - file:/C:/...path/to/sitemap.xmap:857:68
	at <map:transform type="forms"> - file:/C:/...path/to/sitemap.xmap:855:62
	at <map:generate> - file:/C:/...path/to/sitemap.xmap:854:79
	at
org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:566)
	at
org.apache.cocoon.transformation.CIncludeTransformer.startTransformingElement(CIncludeTransformer.java:264)
	at
org.apache.cocoon.transformation.AbstractSAXTransformer.startElement(AbstractSAXTransformer.java:458)
	at
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
	at
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:277)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:243)
	at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:118)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
	at
org.apache.xalan.templates.ElemApplyImport.execute(ElemApplyImport.java:86)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endDocument(ToXMLSAXHandler.java:181)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1378)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	at
org.apache.cocoon.generation.SearchGenerator.generate(SearchGenerator.java:537)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:578)
	... 38 more
Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline
	at [TransformerException] -
file:/C:/...path/to/stylesheets/xsl/searchfields2form_tpl.xsl:23:32
	at <map:serialize type="xml"> - file:/C:/...path/to/sitemap.xmap:916:60
	at <map:transform type="i18n"> - file:/C:/...path/to/sitemap.xmap:912:68
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:910:98
	at <map:generate> - file:/C:/...path/to/sitemap.xmap:909:77
	at <map:serialize type="xml"> - file:/C:/...path/to/sitemap.xmap:881:60
	at <map:transform> - file:/C:/...path/to/sitemap.xmap:864:84
	at <map:transform type="i18n"> - file:/C:/...path/to/sitemap.xmap:857:68
	at <map:transform type="forms"> - file:/C:/...path/to/sitemap.xmap:855:62
	at <map:generate> - file:/C:/...path/to/sitemap.xmap:854:79
	at
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:951)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:281)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
	at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:320)
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:235)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:779)
	at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:412)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:100)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:180)
	at
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:158)
	at
org.apache.cocoon.transformation.CIncludeTransformer.processCIncludeElement(CIncludeTransformer.java:557)
	... 86 more
Caused by: org.apache.commons.lang.exception.NestableRuntimeException:
javax.xml.transform.TransformerException: java.lang.NullPointerException
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:603)
	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.dispatch(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.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334)
	at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:325)
	at
org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:115)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:235)
	... 98 more
Caused by: javax.xml.transform.TransformerException:
java.lang.NullPointerException
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3458)
	at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:406)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:55)
	at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:585)
	... 115 more
Caused by: java.lang.NullPointerException
	at
org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe$StylingContentHandler.endElement(EffectWidgetReplacingPipe.java:967)
	at
org.apache.cocoon.forms.formmodel.AbstractWidget.generateSaxFragment(AbstractWidget.java:500)
	at
org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe$WidgetHandler.endElement(EffectWidgetReplacingPipe.java:528)
	at
org.apache.cocoon.forms.transformation.EffectPipe.endElement(EffectPipe.java:534)
	at
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:89)
	at
org.apache.cocoon.components.EnvironmentChanger.endElement(EnvironmentStack.java:148)
	at
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:89)
	at
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:111)
	at
org.apache.cocoon.transformation.I18nTransformer.endElement(I18nTransformer.java:1179)
	at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:261)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1399)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	... 129 more

Christoph

Mime
View raw message