Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-2075

SP2 Time Based Publishing: NPE when validating a CP (source + destination) on TimeBasedPublishingImplService.saveRetentionRule(TimeBasedPublishingImplService.java:202)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • WCM 5.0 SP2
    • WCM 5.0 SP2
    • None
    • Sp2 17635

    Description

      I got a NPE on the timebased publishing while trying to validate some pages with a Content Picker (a page in the topbar in copy linked on another page in the topbar) - I modified the Jahia/Jahia in cms/cms I do not know if this is a possible source of the issue... ESI in front-end

      2007-06-19 16:32:43,625: INFO [org.jahia.services.esi.EsiSOAPInvalidatorService] - [esi]: Attempting to contact ESI Invalidation Server at http://localhost:6666/x-jahia-cache-invalidate ...
      2007-06-19 16:32:43,687: INFO [org.jahia.services.esi.EsiSOAPInvalidatorService] - Invalidation completed in [62ms].
      2007-06-19 16:32:43,734: INFO [org.jahia.services.scheduler.BackgroundJob] - execute Background job BackgroundJob-d1a87074-dc99-4bb1-b368-08051d9faef5
      started @ Tue Jun 19 16:32:43 CEST 2007
      2007-06-19 16:32:43,796: INFO [org.jahia.services.importexport.ImportHandler] - Import starts
      2007-06-19 16:32:52,265: ERROR [org.jahia.services.importexport.ImportHandler] - Cannot set retention rule
      java.lang.NullPointerException
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService.saveRetentionRule(TimeBasedPublishingImplService.java:202)
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService$$FastClassByCGLIB$$9fc9dcf2.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService$$EnhancerByCGLIB$$c7358307.saveRetentionRule(<generated>)
      at org.jahia.services.importexport.ImportHandler.setMetadata(ImportHandler.java:1692)
      at org.jahia.services.importexport.ImportHandler.createObject(ImportHandler.java:758)
      at org.jahia.services.importexport.ImportHandler.startElement(ImportHandler.java:364)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:982)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:603)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.export(<generated>)
      at org.jahia.services.importexport.ActivationContentPickerJob.executeJahiaJob(ActivationContentPickerJob.java:102)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:127)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2007-06-19 16:33:01,406: WARN [org.jahia.services.esi.EsiInvalidationEventListener] - flushEsiCacheEvent event detected so triggering clearing of the ESI server cache (temporary fix). For JahiaEvent : org.jahia.data.events.JahiaEvent[source=org.jahia.services.importexport.ImportHandler@19f9f37, Obj
      =Detail of ContentPage [6] :
      Displaying JahiaPageInfo vector : JahiaPageInfo#0:JahiaPageInfo:
      id =6
      versionID=0
      versionStatus=2
      languageCode=fr
      end of ContentPage display.
      ]
      2007-06-19 16:33:02,281: ERROR [org.jahia.services.importexport.ImportHandler] - Cannot set retention rule
      java.lang.NullPointerException
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService.saveRetentionRule(TimeBasedPublishingImplService.java:202)
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService$$FastClassByCGLIB$$9fc9dcf2.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.timebasedpublishing.TimeBasedPublishingImplService$$EnhancerByCGLIB$$c7358307.saveRetentionRule(<generated>)
      at org.jahia.services.importexport.ImportHandler.setMetadata(ImportHandler.java:1692)
      at org.jahia.services.importexport.ImportHandler.createObject(ImportHandler.java:758)
      at org.jahia.services.importexport.ImportHandler.startElement(ImportHandler.java:364)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:982)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:1009)
      at org.jahia.services.importexport.ImportExportBaseService.export(ImportExportBaseService.java:603)
      at org.jahia.services.importexport.ImportExportBaseService$$FastClassByCGLIB$$de1c40f7.invoke(<generated>)
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
      at org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
      at org.jahia.services.importexport.ImportExportBaseService$$EnhancerByCGLIB$$74707986.export(<generated>)
      at org.jahia.services.importexport.ActivationContentPickerJob.executeJahiaJob(ActivationContentPickerJob.java:102)
      at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:127)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2007-06-19 16:33:09,546: INFO [org.jahia.services.importexport.ImportHandler] - Imported 29 elements
      2007-06-19 16:33:13,390: INFO [org.jahia.services.scheduler.BackgroundJob] - Background job (of type picked) ended with status successful executed in 29s
      2007-06-19 16:33:13,406: INFO [org.jahia.services.scheduler.BackgroundJob] - Initiating ESI SOAP invalidations due to finished Background job.
      2007-06-19 16:33:13,406: WARN [org.jahia.operations.valves.EsiInvalidateValve] - Clearing the whole ESI server cache (temporary fix).
      2007-06-19 16:33:13,406: INFO [org.jahia.services.esi.EsiSOAPInvalidatorService] - [esi]: Clearing ESI cache(s) on ESI server [localhost:6666] for the given ESI server(s): [localhost:8081]
      2007-06-19 16:33:13,406: INFO [org.jahia.services.esi.EsiSOAPInvalidatorService] - [esi]: Attempting to contact ESI Invalidation Server at http://localhost:6666/x-jahia-cache-invalidate ...
      2007-06-19 16:33:13,421: INFO [org.jahia.services.esi.EsiSOAPInvalidatorService] - Invalidation completed in [15ms].
      2007-06-19 16:33:17,859: INFO [org.jahia.services.search.lucene.AbstractLuceneSearchIndexer] - Finished processing 42 indexing orders in 2016ms.
      2007-06-19 16:33:18,203: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Skeleton-aclGroup] user=[root] ip=[127.0.0.1] in [422ms]
      2007-06-19 16:33:18,203: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Fragment#1-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]
      2007-06-19 16:33:18,218: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Fragment#2-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]
      2007-06-19 16:33:18,234: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Fragment#3-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [16ms]
      2007-06-19 16:33:18,234: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Fragment#4-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]
      2007-06-19 16:33:18,265: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/op/edit/pid/1] esi=[Fragment#5-group:footer_TemplateId_4(Abs)] user=[root] ip=[127.0.0.1] in [31ms]
      2007-06-19 16:33:21,734: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/pid/1] esi=[Skeleton-aclGroup] user=[root] ip=[127.0.0.1] in [266ms]
      2007-06-19 16:33:21,734: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/pid/1] esi=[Fragment#1-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]
      2007-06-19 16:33:21,750: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/pid/1] esi=[Fragment#2-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]
      2007-06-19 16:33:21,750: INFO [org.jahia.bin.Jahia] - Processed [/cms/cms/pid/1] esi=[Fragment#3-aclGroup:administratorsprc3A0_administratorsprc3A1(*)] user=[root] ip=[127.0.0.1] in [0ms]

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              scroisier Stephane Croisier (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      WCM 5.0 SP2