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

NullPointerException on rebuilding the live when the skin of another site does not exist

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7
    • 3.4.7, 3.5.5, 3.7
    • None
    • None

    Description

      How to reproduce

      • On a site create redirect pages to another site
      • The skin of the other skin was removed
      • The generation of live of the first site causes a NullPointerException
      ERROR [org.ametys.web.live.rebuild.sites] (http-8080-5;/_admin/plugins/core/servercomm/messages.xml) Unable to populate live workspace for site: '/ametys-internal:sites/www' (site://cc554630-f0e5-4c25-b66e-95b504bde1d7)
      java.lang.NullPointerException
      	at org.ametys.web.synchronization.SynchronizeComponent._isContainerPageValid(SynchronizeComponent.java:311)
      	at org.ametys.web.synchronization.SynchronizeComponent.isPageValid(SynchronizeComponent.java:165)
      	at org.ametys.web.synchronization.SynchronizeComponent._isLinkPageValid(SynchronizeComponent.java:266)
      	at org.ametys.web.synchronization.SynchronizeComponent.isPageValid(SynchronizeComponent.java:161)
      	at org.ametys.web.synchronization.SynchronizeComponent.cloneEligiblePage(SynchronizeComponent.java:638)
      	at org.ametys.web.live.SitePopulator._populate(SitePopulator.java:352)
      	at org.ametys.web.live.SitePopulator._cloneSitemaps(SitePopulator.java:320)
      	at org.ametys.web.live.SitePopulator._populate(SitePopulator.java:142)
      	at org.ametys.web.live.SitePopulator.populate(SitePopulator.java:103)
      	at org.ametys.web.live.SitesLivePopulator.populate(SitesLivePopulator.java:70)
      	at org.ametys.web.live.RebuildLiveComponent.rebuildLiveWorkspace(RebuildLiveComponent.java:105)
      	at org.ametys.web.live.RebuildLiveWorkspaceAction.act(RebuildLiveWorkspaceAction.java:48)
      	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      	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.buildPipeline(ConcreteTreeProcessor.java:194)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
      	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.buildPipeline(ConcreteTreeProcess
      

      Attachments

        Activity

          People

            trizzi Thibaut Rizzi (Inactive)
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: