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

Make NuxeoCloudClient upload dataset more resilient

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AI Nuxeo Services

      Description

      We have encountered a NullPointerException within the `NuxeoCloudClient` when uploading a dataset. The training / evaluation data blob file is null, resulting in a NullPointerException within the FileBlob constructor. This causes export dataset to fail.

       

      java.lang.NullPointerException: nulljava.lang.NullPointerException: null at org.nuxeo.client.objects.blob.FileBlob.<init>(FileBlob.java:61) ~[nuxeo-java-client-3.5.0.jar:3.5.0] at org.nuxeo.ai.cloud.NuxeoCloudClient.createBatch(NuxeoCloudClient.java:300) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.ai.cloud.NuxeoCloudClient.uploadedDataset(NuxeoCloudClient.java:335) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.ai.bulk.DatasetUploadComputation.uploadDataset(DatasetUploadComputation.java:82) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.ai.bulk.DatasetUploadComputation.lambda$processRecord$0(DatasetUploadComputation.java:56) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.ai.bulk.ExportHelper.runInTransaction(ExportHelper.java:91) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.ai.bulk.DatasetUploadComputation.processRecord(DatasetUploadComputation.java:55) ~[nuxeo-ai-model-2.7.21.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.lambda$processRecordWithRetry$10(ComputationRunner.java:417) ~[nuxeo-stream-10.10-HF67.jar:?] at net.jodah.failsafe.Functions$10.call(Functions.java:252) ~[failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.call(SyncFailsafe.java:145) [failsafe-1.1.0.jar:1.1.0] at net.jodah.failsafe.SyncFailsafe.run(SyncFailsafe.java:81) [failsafe-1.1.0.jar:1.1.0] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecordWithRetry(ComputationRunner.java:417) [nuxeo-stream-10.10-HF67.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processRecord(ComputationRunner.java:402) [nuxeo-stream-10.10-HF67.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.processLoop(ComputationRunner.java:291) [nuxeo-stream-10.10-HF67.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.runOnce(ComputationRunner.java:237) [nuxeo-stream-10.10-HF67.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:204) [nuxeo-stream-10.10-HF67.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_362] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_362] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_362] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_362] at java.lang.Thread.run(Thread.java:750) [?:1.8.0_362]
      

        Attachments

          Activity

            People

            • Assignee:
              jliggett jliggett
              Reporter:
              jliggett jliggett
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: