Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26518

NullPointerException during move repository blobstore due to missing blobs

    XMLWordPrintable

    Details

    • Notability:
      3

      Description

      While the move repository blobstore task is running the following NullPointerException occurs.

       

      2021-01-26 21:14:22,269+0100 WARN  [change-blobstore-moves-3-thread-10]  *SYSTEM org.sonatype.nexus.blobstore.file.FileBlobStore - Attempt to access non-existent blob d4a3619a-49e0-4f17-9453-5e3e1c5e4208 (/data/sonatype/application-data/nexus-professional/nexus3/blobs/default/content/vol-26/chap-16/d4a3619a-49e0-4f17-9453-5e3e1c5e4208.properties)
      2021-01-26 21:14:36,001+0100 WARN  [quartz-11-thread-19]  *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskJob - Task cb2c873b-0cf5-47f0-989d-348f74f79d97 : 'snapshotsRepositoryBlobmove' [repository.move] execution failure
      java.lang.NullPointerException: null
       at com.sonatype.nexus.repository.move.internal.orient.PagingRepositoryMover.movePageOfBlobs(PagingRepositoryMover.java:156)
       at com.sonatype.nexus.repository.move.internal.orient.PagingRepositoryMover.moveBlobs(PagingRepositoryMover.java:125)
       at com.sonatype.nexus.repository.move.tasks.RepositoryMoveTask.execute(RepositoryMoveTask.java:80)
       at org.sonatype.nexus.scheduling.TaskSupport.call(TaskSupport.java:100)
       at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.doExecute(QuartzTaskJob.java:143)
       at org.sonatype.nexus.quartz.internal.task.QuartzTaskJob.execute(QuartzTaskJob.java:106)
       at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
       at org.sonatype.nexus.quartz.internal.QuartzThreadPool.lambda$0(QuartzThreadPool.java:145)
       at org.sonatype.nexus.thread.internal.MDCAwareRunnable.run(MDCAwareRunnable.java:40)
       at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
       at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)

       

      There are blobs missing from the blobstore which are causing this error.

      From internal testing it looks like the repository move completes despite this error.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbradicich Damian Bradicich
              Reporter:
              cseney Cassandra Seney
              Last Updated By:
              Rich Seddon Rich Seddon
              Team:
              NXRM - Neo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title