Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.29.2
-
Fix Version/s: 3.30.0
-
Component/s: Blobstore, Scheduled Tasks
-
Labels:
-
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
- mentioned in
-
Page Loading...