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

null pointer exception at startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.1
    • Component/s: ML Custom Model

      Description

      nuxeo_1          | 2020-12-27T04:43:05,394 ERROR [Nuxeo-Work-default-1] [org.nuxeo.ecm.core.work.WorkManagerImpl] Uncaught error on thread: Nuxeo-Work-default-1, current work might be lost, WorkManager metrics might be corrupted.
      nuxeo_1          | org.nuxeo.ecm.core.api.NuxeoException: Work failed after 2 retries, class=class org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork id=3277719017382.2070567226 category=invalidateModelDefinitionsListener title=Listener invalidateModelDefinitionsListener [invalidateModelDefinitions]
      nuxeo_1          |      at org.nuxeo.ecm.core.work.AbstractWork.workFailed(AbstractWork.java:479) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:398) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      nuxeo_1          |      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      nuxeo_1          |      at java.lang.Thread.run(Thread.java:834) [?:?]
      nuxeo_1          | Caused by: java.lang.NullPointerException
      nuxeo_1          |      at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:271) ~[?:?]
      nuxeo_1          |      at java.nio.file.Path.of(Path.java:147) ~[?:?]
      nuxeo_1          |      at java.nio.file.Paths.get(Paths.java:69) ~[?:?]
      nuxeo_1          |      at org.nuxeo.ai.cloud.NuxeoCloudClient.getPublishedModels(NuxeoCloudClient.java:382) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |      at org.nuxeo.ai.listeners.InvalidateModelDefinitionsListener.handleEvent(InvalidateModelDefinitionsListener.java:87) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |      at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:209) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:533) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:385) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |      ... 4 more
      nuxeo_1          |      Suppressed: java.lang.NullPointerException
      nuxeo_1          |              at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:271) ~[?:?]
      nuxeo_1          |              at java.nio.file.Path.of(Path.java:147) ~[?:?]
      nuxeo_1          |              at java.nio.file.Paths.get(Paths.java:69) ~[?:?]
      nuxeo_1          |              at org.nuxeo.ai.cloud.NuxeoCloudClient.getPublishedModels(NuxeoCloudClient.java:382) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |              at org.nuxeo.ai.listeners.InvalidateModelDefinitionsListener.handleEvent(InvalidateModelDefinitionsListener.java:87) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:209) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:533) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:385) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      nuxeo_1          |              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      nuxeo_1          |              at java.lang.Thread.run(Thread.java:834) [?:?]
      nuxeo_1          |      Suppressed: java.lang.NullPointerException
      nuxeo_1          |              at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:271) ~[?:?]
      nuxeo_1          |              at java.nio.file.Path.of(Path.java:147) ~[?:?]
      nuxeo_1          |              at java.nio.file.Paths.get(Paths.java:69) ~[?:?]
      nuxeo_1          |              at org.nuxeo.ai.cloud.NuxeoCloudClient.getPublishedModels(NuxeoCloudClient.java:382) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |              at org.nuxeo.ai.listeners.InvalidateModelDefinitionsListener.handleEvent(InvalidateModelDefinitionsListener.java:87) ~[nuxeo-ai-model-3.0.0-beta-SNAPSHOT.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:209) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:533) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:385) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) ~[nuxeo-core-event-11.4.42.jar:?]
      nuxeo_1          |              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
      nuxeo_1          |              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
      nuxeo_1          |              at java.lang.Thread.run(Thread.java:834) [?:?]
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: