URN cannot be registered

Description

URN registration fails with:

[MCRPICronJob.cron (67)] ERROR {} MCRPICronJob: Error in PICronjob!
java.util.concurrent.CompletionException: org.mycore.common.MCRException: MyCoRe Exception: org.mycore.pi.exceptions.MCRPersistentIdentifierException

Message:
Could find flag to update (ufb_derivate_00012669,/Theol-4-0095-17_0078.tif,urn:nbn:de:urmel-a0931aa5-efde-48a3-a18a-d12deb0b941b8-00012669-790)

Stack trace:
org.mycore.pi.exceptions.MCRPersistentIdentifierException: Could find flag to update (ufb_derivate_00012669,/Theol-4-0095-17_0078.tif,urn:nbn:de:urmel-a0931aa5-efde-48a3-a18a-d12deb0b941b8-00012669-790)
at org.mycore.pi.MCRPIService.lambda$updateFlag$6(MCRPIService.java:480)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.mycore.pi.MCRPIService.updateFlag(MCRPIService.java:479)
at org.mycore.pi.MCRPICronJob.lambda$updateFlags$8(MCRPICronJob.java:139)
at org.mycore.util.concurrent.MCRTransactionableCallable.call(MCRTransactionableCallable.java:82)
at org.mycore.util.concurrent.MCRFixedUserCallable.call(MCRFixedUserCallable.java:68)
at org.mycore.pi.MCRPICronJob.lambda$run$4(MCRPICronJob.java:94)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.mycore.common.MCRException: MyCoRe Exception: org.mycore.pi.exceptions.MCRPersistentIdentifierException

Message:
Could find flag to update (ufb_derivate_00012669,/Theol-4-0095-17_0078.tif,urn:nbn:de:urmel-a0931aa5-efde-48a3-a18a-d12deb0b941b8-00012669-790)

Stack trace:
org.mycore.pi.exceptions.MCRPersistentIdentifierException: Could find flag to update (ufb_derivate_00012669,/Theol-4-0095-17_0078.tif,urn:nbn:de:urmel-a0931aa5-efde-48a3-a18a-d12deb0b941b8-00012669-790)
at org.mycore.pi.MCRPIService.lambda$updateFlag$6(MCRPIService.java:480)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.mycore.pi.MCRPIService.updateFlag(MCRPIService.java:479)
at org.mycore.pi.MCRPICronJob.lambda$updateFlags$8(MCRPICronJob.java:139)
at org.mycore.util.concurrent.MCRTransactionableCallable.call(MCRTransactionableCallable.java:82)
at org.mycore.util.concurrent.MCRFixedUserCallable.call(MCRFixedUserCallable.java:68)
at org.mycore.pi.MCRPICronJob.lambda$run$4(MCRPICronJob.java:94)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

at org.mycore.pi.MCRPIService.lambda$updateFlag$6(MCRPIService.java:480)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.mycore.pi.MCRPIService.updateFlag(MCRPIService.java:479)
at org.mycore.pi.MCRPICronJob.lambda$updateFlags$8(MCRPICronJob.java:139)
at org.mycore.util.concurrent.MCRTransactionableCallable.call(MCRTransactionableCallable.java:82)
at org.mycore.util.concurrent.MCRFixedUserCallable.call(MCRFixedUserCallable.java:68)
at org.mycore.pi.MCRPICronJob.lambda$run$4(MCRPICronJob.java:94)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
... 4 more
Caused by: org.mycore.pi.exceptions.MCRPersistentIdentifierException: Could find flag to update (ufb_derivate_00012669,/Theol-4-0095-17_0078.tif,urn:nbn:de:urmel-a0931aa5-efde-48a3-a18a-d12deb0b941b8-00012669-790)
... 12 more

Environment

None

Assignee

Huu Chi Vu

Reporter

Silvio Hermann

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Highest
Configure