Nexus 3.56.0: NPE - Failed to invoke action method: coreui_Repository.remove

I started using nexus 3.56.0 and noticed the following error when removing a repository:
2023-07-04 16:10:28,626+0000 INFO [qtp547721895-567] - Deleted repository: staging-20230704161027197Z15483504002-results
2023-07-04 16:10:28,663+0000 ERROR [qtp547721895-567] - Failed to invoke action method: coreui_Repository.remove, java-method:
java.lang.NullPointerException: null

I run nexus the following way:
docker run
–name nexus
–env INSTALL4J_ADD_VM_PARAMS=“-Xms4g -Xmx4g -Djava.util.prefs.userRoot=/opt/sonatype/sonatype-work/nexus/javaprefs”
-v $nexusDirectory/
-v $nexusDirectory/keystore.jks:/opt/sonatype/nexus/etc/ssl/keystore.jks
-v /data/nexus-data:/nexus-data
-p 8081:8081
-p 8443:8443

Please advise as the user has admin permissions.
Thank you in advance.