• Icon: Work Task Work Task
    • Resolution: Done
    • Icon: Critical Critical
    • 1.3.0-M4, 1.3.0
    • None
    • Portal - CADIS
    • None

      The custom FTP file uploader for CADIS seems to deal with already existing files okay, but it failed when trying to create a new file:

      [INFO] sgf.gateway.service.publishing.impl.spring.FtpFileScanner: Creating new logical file with identifier=0d13caae-2752-4f46-9c68-41080dfbb707.buoy1_camera_level0_20090215_180145_jpg
      java.lang.NullPointerException
      at sgf.gateway.model.metadata.dataaccess.factory.impl.FileAccessPointFactoryImpl.createFileAccessPoint(FileAccessPointFactoryImpl.java:28)
      at sgf.gateway.service.publishing.impl.spring.FtpFileScanner.process(FtpFileScanner.java:166)
      at sgf.gateway.metadata.ingestor.impl.TransactionalMetadataIngestorImpl$1.doInTransaction(TransactionalMetadataIngestorImpl.java:58)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      at sgf.gateway.metadata.ingestor.impl.TransactionalMetadataIngestorImpl.ingest(TransactionalMetadataIngestorImpl.java:53)
      at sgf.gateway.service.publishing.impl.spring.FtpFilesPublishingTask.handleExecuteInternal(FtpFilesPublishingTask.java:79)
      at sgf.gateway.metadata.complete.AbstractPublishingTask.execute(AbstractPublishingTask.java:47)
      at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:62)
      at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:1)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

              Unassigned Unassigned
              hannah Hannah Wilcox (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: