# Compact blob store task fails with "InvalidPathException: Nul character not allowed"

**URL:** <https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346>\
**Category:** Sonatype Nexus Repository\
**Tags:** scheduled-task\
**Created:** [March 22, 2023, 9:50am UTC](https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346 "2023-03-22T09:50:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.marcato93](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/a.marcato93/32/2638_2.png) [@a.marcato93](https://community.sonatype.com/u/a.marcato93)\
**Post date:** [March 22, 2023, 9:50am UTC](https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346/1 "2023-03-22T09:50:55Z")

</div>

Hi,  
We are facing this problem scheduling the ‘Admin - compact blob store’ task.  
We are under 3.37.3-02 Nexus version.  
It fails at the start with this log file:

org.sonatype.nexus.blobstore.api.BlobStoreException: java.nio.file.InvalidPathException: Nul character not allowed: vol-15/chap-17/th$nexus-repository-docker-3dd2a6cf-1b08-46bc-b3e4-564df2d5842c-fe09adfa-051c-41de-a06b-f8c80e7455bbfpath$nexus-repository-docker-14427ef8-66aa-4bda-9ed6-a8f74e63ad73-1736af5e-1c4f-4e71-ab45-eb040cc9968ffpath$nexus-repository  
…

The other tasks we have, execute correctly.  
Is this a bug and do we have to upgrade?  
Thanks,

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [March 22, 2023, 7:06pm UTC](https://community.sonatype.com/t/compact-blob-store-task-fails-with-invalidpathexception-nul-character-not-allowed/10346/2 "2023-03-22T19:06:09Z")

</div>

Likely you have corruption in your database that you’ll need to resolve.
