Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-5802

If we have selected more than one services in the assistant of creation of a new page, an error occurs and Ametys is unable to collect service parameters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7
    • 3.7
    • None
    • None
    • 33.1

    Description

      How to reproduce :

      • create a new page
      • during the third step, select more than one services
      • Validate the assistant,
        > an error occurs : Unable to collect service parameters

      The buttons "next" and "validate" should be disabled if more than one service is selected like when we select too much types of content.

      java.lang.NullPointerException 
          at org.ametys.web.service.ServiceGenerator.toSAXService(ServiceGenerator.java:76) 
          at org.ametys.web.service.ServiceGenerator.generate(ServiceGenerator.java:61) 
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) 
          at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) 
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) 
          at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:267) 
          at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:138) 
          at org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:84) 
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579) 
          at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280) 
          at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481) 
          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.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.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.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1159) 
          at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:135) 
          at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:92) 
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) 
          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) 
          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) 
          at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) 
          at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
          at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) 
          at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) 
          at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) 
          at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
          at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
          at org.mortbay.jetty.Server.handle(Server.java:326) 
          at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) 
          at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) 
          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) 
          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) 
          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) 
          at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) 
          at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) 

      Attachments

        Activity

          People

            trizzi Thibaut Rizzi (Inactive)
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: