-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
None
-
4.2 M11
I've got the following NPE :
org.xml.sax.SAXException: Could not get sitemap source cocoon://_content.html?contentId=content://b2774f21-198f-4ce3-8e3d-2b1aa343c187&metadataSetName=abstract&checkUserAccess=false org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://_plugins/cms/default-content/html-abstract.xsl at <map:serialize type="xhtml"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:710:50 at <map:transform type="processing-instruction-transform"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:709:78 at <map:transform type="i18n"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:705:48 at <map:transform type="docbook-enhancement"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:704:64 at <map:transform> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:703:111 at <map:transform type="i18n"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:699:48 at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380) at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215) at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68) at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208) at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:152) at org.ametys.web.filter.ContentFilterHelper.saxContent(ContentFilterHelper.java:234) at org.ametys.web.frontoffice.service.search.metamodel.impl.ContentSaxer.sax(ContentSaxer.java:57) at org.ametys.web.frontoffice.service.search.requesttime.impl.SaxResultsSearchComponent.saxHit(SaxResultsSearchComponent.java:122) at org.ametys.web.frontoffice.service.search.requesttime.impl.SaxResultsSearchComponent.saxHits(SaxResultsSearchComponent.java:91) at org.ametys.web.frontoffice.service.search.requesttime.impl.SaxResultsSearchComponent.execute(SaxResultsSearchComponent.java:71) at org.ametys.web.frontoffice.service.search.requesttime.SearchServiceGenerator.generate(SearchServiceGenerator.java:162) 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:782) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:101) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:181) at org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:140) at org.ametys.web.repository.PageGenerator._saxSource(PageGenerator.java:726) at org.ametys.web.repository.PageGenerator._saxZoneItem(PageGenerator.java:517) at org.ametys.web.repository.PageGenerator._saxZoneItems(PageGenerator.java:392) at org.ametys.web.repository.PageGenerator._saxZone(PageGenerator.java:319) at org.ametys.web.repository.PageGenerator.generate(PageGenerator.java:240) 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:782) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) 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.sitemap.ContentAggregator.generate(ContentAggregator.java:125) 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:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) 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:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.handleCocoonRedirect(ConcreteTreeProcessor.java:300) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.access$000(ConcreteTreeProcessor.java:49) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor$TreeProcessorRedirector.cocoonRedirect(ConcreteTreeProcessor.java:348) at org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:60) at org.apache.cocoon.components.treeprocessor.sitemap.RedirectToURINode.invoke(RedirectToURINode.java:70) 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:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) 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:236) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.Cocoon.process(Cocoon.java:699) at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:548) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://_plugins/cms/default-content/html-abstract.xsl at <map:serialize type="xhtml"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:710:50 at <map:transform type="processing-instruction-transform"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:709:78 at <map:transform type="i18n"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:705:48 at <map:transform type="docbook-enhancement"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:704:64 at <map:transform> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:703:111 at <map:transform type="i18n"> - file:/D:/Dev/Ametys/kernel/08_Web/master/main/plugin-web/sitemap-front.xmap:699:48 at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339) at org.ametys.runtime.cocoon.TraxTransformer.setup(TraxTransformer.java:50) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:400) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:738) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:517) at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:343) ... 98 more Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://_plugins/cms/default-content/html-abstract.xsl at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._createTemplates(ThreadSafeTraxProcessor.java:477) at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._getTemplates(ThreadSafeTraxProcessor.java:231) at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor.getTransformerHandlerAndValidity(ThreadSafeTraxProcessor.java:178) at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:332) ... 104 more Caused by: org.xml.sax.SAXException: Exception during processing of cocoon://_plugins/cms/default-content/html-abstract.xsl org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:212:44 at <map:transform> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:211:76 at <map:generate type="content-type"> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:208:51 at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424) at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._sourceToSAX(ThreadSafeTraxProcessor.java:485) at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._createTemplates(ThreadSafeTraxProcessor.java:437) ... 107 more Caused by: org.apache.cocoon.ProcessingException: Failed to process pipeline at <map:serialize type="xml"> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:212:44 at <map:transform> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:211:76 at <map:generate type="content-type"> - file:/D:/Dev/Ametys/kernel/07_CMS/master/main/plugin-cms/sitemap.xmap:208:51 at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:145) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.handleException(AbstractProcessingPipeline.java:955) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:585) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:782) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414) ... 109 more Caused by: java.lang.NullPointerException at org.ametys.cms.contenttype.ContentTypeGenerator._saxMetadataSetElement(ContentTypeGenerator.java:193) at org.ametys.cms.contenttype.ContentTypeGenerator.generate(ContentTypeGenerator.java:99) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581) ... 112 more