Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30242

Align Retention on 11.5

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.x
    • Fix Version/s: 11.x
    • Component/s: Retention

      Description

      Following the stuff that was done under NXP-29028. We weren't able to install the retention add-on on Platform 11.5.84. The error is:

      started failed: null
      java.lang.NullPointerException: null
      	at org.nuxeo.retention.service.RetentionManagerImpl.lambda$start$6(RetentionManagerImpl.java:346) ~[nuxeo-retention-11.0.0-SNAPSHOT.jar:?]
      	at org.nuxeo.runtime.api.Framework.lambda$doPrivileged$0(Framework.java:260) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.api.Framework.loginAndDo(Framework.java:307) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.api.Framework.doPrivileged(Framework.java:259) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.retention.service.RetentionManagerImpl.start(RetentionManagerImpl.java:343) ~[nuxeo-retention-11.0.0-SNAPSHOT.jar:?]
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:372) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponent(ComponentManagerImpl.java:899) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:879) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:982) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:453) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:468) [nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:222) [nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) [nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) [nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) [nuxeo-runtime-deploy-11.5.83.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-11.5.83.jar:?]
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) [catalina.jar:9.0.41]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.41]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?]
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.41]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.41]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.41]
      	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.41]
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) [bootstrap.jar:9.0.41]
      2021-03-05T11:45:56,980 WARN  [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] Command not available: timeout (command timeout not found in system path (descriptor CommandLineDescriptor[available=false,command=timeout,enabled=true,installErrorMessage=<null>,installationDirective=<null>,name=timeout,parameterString=--version,readOutput=true,testParameterString=,tester=<null>,timeout=<null>,winCommand=<null>,winParameterString=<null>,winTestParameterString=<null>]). null)
      2021-03-05T11:46:00,191 WARN  [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent] There is no timeout command available, command executions won't be time-boxed.
      2021-03-05T11:46:00,881 WARN  [main] [org.nuxeo.common.xmap.registry.MapRegistry] The contribution with id 'blobDigestUpdated' on extension 'org.nuxeo.ecm.platform.audit.user.contrib#event' has been implicitly merged: the compatibility mechanism on its descriptor class 'org.nuxeo.ecm.platform.audit.service.extension.EventDescriptor' detected it, and the attribute merge="true" should be added to this definition.
      2021-03-05T11:46:00,882 WARN  [main] [org.nuxeo.common.xmap.registry.MapRegistry] The contribution with id 'afterSetRetention' on extension 'org.nuxeo.retention.audit#event' has been implicitly merged: the compatibility mechanism on its descriptor class 'org.nuxeo.ecm.platform.audit.service.extension.EventDescriptor' detected it, and the attribute merge="true" should be added to this definition.
      2021-03-05T11:46:00,882 WARN  [main] [org.nuxeo.common.xmap.registry.MapRegistry] The contribution with id 'afterExtendRetention' on extension 'org.nuxeo.retention.audit#event' has been implicitly merged: the compatibility mechanism on its descriptor class 'org.nuxeo.ecm.platform.audit.service.extension.EventDescriptor' detected it, and the attribute merge="true" should be added to this definition.
      2021-03-05T11:46:01,423 WARN  [stream/metricsPool-00] [org.nuxeo.runtime.stream.StreamMetricsComputation] Instance elected to report stream metrics
      2021-03-05T11:46:01,457 WARN  [stream/introspectionPool-00] [org.nuxeo.ecm.core.bulk.introspection.StreamIntrospectionComputation] Instance elected to introspect Nuxeo Stream activity
      2021-03-05T11:46:02,712 ERROR [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService] Nuxeo Platform Started
      ======================================================================
      = Component Loading Errors:
        * Component service:org.nuxeo.retention.RetentionService notification of application started failed: null
      ======================================================================
      = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 1 / Total: 559
        - service:org.nuxeo.retention.RetentionService
      ======================================================================
      2021-03-05T11:46:02,729 ERROR [main] [org.nuxeo.runtime.deployment.NuxeoStarter] Exception during startup
      java.lang.IllegalStateException: Startup aborted due to previous failures (strict mode)
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.printStatusMessage(OSGiRuntimeService.java:479) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:458) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:468) ~[nuxeo-runtime-11.5.83.jar:?]
      	at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:222) ~[nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) ~[nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) ~[nuxeo-runtime-osgi-11.5.83.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) ~[nuxeo-runtime-deploy-11.5.83.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-11.5.83.jar:?]
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) [catalina.jar:9.0.41]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.41]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?]
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.41]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.41]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:434) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.41]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.41]
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.41]
      	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.41]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.