Uploaded image for project: 'Nuxeo AI Core'
  1. Nuxeo AI Core
  2. AICORE-74

Fix server exception during startup, after installing nuxeo-ai-model

    XMLWordPrintable

    Details

      Description

      after installing nuxeo-ai-model-2.0-SNAPSHOT, when I try to start the server it doesn't allow me and I get this error:

      2018-11-15T12:31:34,740 ERROR [NuxeoStarter] Exception during startup
      java.lang.NoSuchMethodError: org.nuxeo.lib.stream.computation.AbstractBatchComputation.<init>(Ljava/lang/String;IILorg/nuxeo/lib/stream/computation/ComputationPolicy;)V
      	at org.nuxeo.ai.bulk.RecordWriterBatchComputation.<init>(RecordWriterBatchComputation.java:46) ~[nuxeo-ai-model-2.0-SNAPSHOT.jar:?]
      	at org.nuxeo.ai.bulk.DataSetBulkAction.lambda$getTopology$1(DataSetBulkAction.java:118) ~[nuxeo-ai-model-2.0-SNAPSHOT.jar:?]
      	at org.nuxeo.lib.stream.computation.Topology$Builder.addComputation(Topology.java:272) ~[nuxeo-stream-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.ai.bulk.DataSetBulkAction.getTopology(DataSetBulkAction.java:118) ~[nuxeo-ai-model-2.0-SNAPSHOT.jar:?]
      	at org.nuxeo.runtime.stream.StreamServiceImpl.initProcessor(StreamServiceImpl.java:157) ~[nuxeo-runtime-stream-10.3-I20181115_0125.jar:?]
      	at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_181]
      	at org.nuxeo.runtime.stream.StreamServiceImpl.start(StreamServiceImpl.java:144) ~[nuxeo-runtime-stream-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:381) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponent(ComponentManagerImpl.java:709) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:691) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:792) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:447) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:462) ~[nuxeo-runtime-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:223) ~[nuxeo-runtime-osgi-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) ~[nuxeo-runtime-osgi-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) ~[nuxeo-runtime-osgi-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) ~[nuxeo-runtime-deploy-10.3-I20181115_0125.jar:?]
      	at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-10.3-I20181115_0125.jar:?]
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840) [catalina.jar:9.0.12]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.12]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [?:1.8.0_181]
      	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:525) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:969) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:9.0.12]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]
      	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.12]
      	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:1.8.0_181]
      	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
      	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770) [catalina.jar:9.0.12]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:682) [catalina.jar:9.0.12]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
      	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350) [bootstrap.jar:9.0.12]
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492) [bootstrap.jar:9.0.12]
      2018-11-15 12:31:34.791 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
      2018-11-15 12:31:34.802 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/nuxeo] startup failed due to previous errors

      How to reproduce:

      • clone https://github.com/nuxeo/nuxeo-ai and mvn install
      • download today's build
      • add *-config.xml to the server nx_server/config folder to configure the model
      • mp-install nuxeo-ai-core-package/target/nuxeo-ai-core-2.0-SNAPSHOT.zip
      • run the server
      • error

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: