Uploaded image for project: 'Data Filler'
  1. Data Filler
  2. DATAFILLER-22

Lot of contents are not created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 1.5.0
    • 1.5.0
    • None

      How to reproduce it :

      • On 4.5 project, add this to ivy.xml
        <dependency org="org.ametys.plugins" name="data-filler" branch="1.5.x" conf="web_compile_dependencies->compile_dependencies,runtime-except-ametys-dependencies;web_runtime_dependencies->runtime-except-ametys-dependencies;web_compile,web_runtime->runtime" rev="latest.milestone"/> 
      • Resolve ivy
      • the data-filler jar is loaded
      • in the CMS, developper tab, clic on Create test pages
        > there is errors and lot of contents are not created (see screenshot)
        Date : 14/03 15:51:06.648
        Utilisateur : laure#users
        ThreadThread[http-nio-10033-exec-8,5,main]
        Niveau : ERROR
        Catégorie : org.ametys.plugins.datafiller.DataFiller
        URI de la requête : /cms/plugins/core-ui/servercomm/messages.xml
        Message : An error occurred: failed to create content and add them to test pages
        Emplacement : org.ametys.plugins.datafiller.CreateTestPageManager._createTestContentPages(CreateTestPageManager.java:234)
        
        Pile d'appels :
        java.lang.NullPointerException
        at org.ametys.cms.FilterNameHelper#filterName:50
        at org.ametys.web.repository.page.PageDAO#createPage:567
        at org.ametys.plugins.datafiller.SitemapPopulator#_createPage:259
        at org.ametys.plugins.datafiller.SitemapPopulator#getOrCreatePage:219
        at org.ametys.plugins.datafiller.SitemapPopulator#getOrCreatePage:201
        at org.ametys.plugins.datafiller.GenericContentCreationManager#_createPagesForContent:881
        at org.ametys.plugins.datafiller.GenericContentCreationManager#createGenericContentPages:195
        at org.ametys.plugins.datafiller.CreateTestPageManager#_createTestContentPages:230
        at org.ametys.plugins.datafiller.CreateTestPageManager#createTestPages:165
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke0 (Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl#invoke:62
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl#invoke:43
        at java.base/java.lang.reflect.Method#invoke:566
        at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:204
        at org.ametys.core.ui.ExecuteClientCallsAction#act:182
        at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:111
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#buildPipeline:194
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#buildPipeline:267
        at org.apache.cocoon.components.source.impl.SitemapSource#init:333
        at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215
        at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68
        at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208
        at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
        at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
        at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
        at org.apache.cocoon.components.CocoonComponentManager#resolveURI:558
        at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:153
        at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:95
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
        at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
        at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
        at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
        at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
        at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
        at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236
        at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178
        at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254
        at org.apache.cocoon.Cocoon#process:699
        at org.ametys.runtime.servlet.RuntimeServlet#service:580
        at javax.servlet.http.HttpServlet#service:741
        at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231
        at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
        at org.apache.tomcat.websocket.server.WsFilter#doFilter:53
        at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193
        at org.apache.catalina.core.ApplicationFilterChain#doFilter:166
        at org.apache.catalina.core.StandardWrapperValve#invoke:202
        at org.apache.catalina.core.StandardContextValve#invoke:96
        at org.apache.catalina.authenticator.AuthenticatorBase#invoke:490
        at org.apache.catalina.core.StandardHostValve#invoke:139
        at org.apache.catalina.valves.ErrorReportValve#invoke:92
        at org.apache.catalina.valves.AbstractAccessLogValve#invoke:678
        at org.apache.catalina.core.StandardEngineValve#invoke:74
        at org.apache.catalina.connector.CoyoteAdapter#service:343
        at org.apache.coyote.http11.Http11Processor#service:408
        at org.apache.coyote.AbstractProcessorLight#process:66
        at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:853
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1587
        at org.apache.tomcat.util.net.SocketProcessorBase#run:49
        at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1128
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:628
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61
        at java.base/java.lang.Thread#run:834 

            ggouin Guillaume Gouin
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: