I am using Sonatype Nexus.
When running the update, I got the following error:
ERROR [OrientDB rebuild indexes] *SYSTEM com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage - Exception `543473F7` in storage `plocal:/nexus-data/db/component`: 2.2.37 (build a7541e7ceeabf592dd9a7b2928b6c023cbc73193, branch 2.2.x)
java.nio.BufferUnderflowException: null
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:270)
at java.nio.ByteBuffer.get(ByteBuffer.java:723)
at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurablePage.getBinaryValue(ODurablePage.java:140)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPage.getRecordBinaryValue(OClusterPage.java:386)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readFullEntry(OPaginatedCluster.java:1910)
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecordBuffer(OPaginatedCluster.java:779)
・・・
at com.orientechnologies.orient.core.index.OIndexManagerShared$RecreateIndexesTask.run(OIndexManagerShared.java:515)
at java.lang.Thread.run(Thread.java:750)
I would like to know the reason for this and how to fix it.
Version Before Update version: 3.20.1
Version After Update version: 3.43.0
Data Source Size: 5TB
INSTALL4J_ADD_VM_PARAMS: “-Xms4G -Xmx4G -XX:MaxDirectMemorySize=6717M -Djava.util.prefs.userRoot=/nexus-data/javaprefs”