com.vmware.vcloud.api.presentation.service.BadRequestException
ose config validate'
on the VMware Cloud Director Object Storage Extension (OSE) successfully validates the configuration of OSE./opt/vmware/voss/support/ose-default.log
on the OSE server 'NullPointerException'
entries are present with a stack trace similar to:[DefaultQuartzScheduler_Worker-1] ERROR org.quartz.core.JobRunShell - Job DEFAULT.UserKeyBroadcastJob threw an unhandled Exception:
java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because the return value of "com.vmware.voss.data.model.UserKeyInfo.getOwnerId()" is null
at com.vmware.voss.service.impl.RegionMgmtServiceImpl.lambda$broadcastUserKey$26(RegionMgmtServiceImpl.java:908)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921
VMware Cloud Director 10.x
Object Storage Extension 3.x
In previous versions of OSE, Spring Hibernate V5 was used to efficiently handle large datasets in PostgreSQL. This involved generating SQL queries and retrieving estimated object counts. However, when OSE upgraded to Spring Hibernate V6 in version 3.x, this function was broken.
This is a known issue affecting Object Storage Extension 3.x.
Currently there is no resolution.
To minimize the impact, it is recommended to turn off count estimation following below steps:
The workaround will dynamically calculate the total object count when you list objects in a folder.