at the end I was able to fix this with these commands:
sh-4.4$ java -jar /opt/sonatype/nexus/lib/support/nexus-orient-console.jar
OrientDB console v.2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
https://www.orientdb.comType 'help' to display all the supported commands.
orientdb> sh: tput: command not found
orientdb> connect plocal:/nexus-data/db/component/ admin admin
Connecting to database [plocal:/nexus-data/db/component/] with user 'admin'...
2022-03-08 23:18:34:635 WARNI {db=component} Storage 'component' was not closed properly. Will try to recover from write ahead log... [OLocalPaginatedStorage]
2022-03-08 23:18:34:644 WARNI {db=component} Record OFuzzyCheckpointStartRecord{lsn=LSN{segment=1038, position=38535770}} com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointStartRecord{lsn=null, previousCheckpoint=LSN{segment=1038, position=38486646}} will be skipped during data restore [OLocalPaginatedStorage]
2022-03-08 23:18:34:645 WARNI {db=component} Record com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OFuzzyCheckpointEndRecord{lsn=LSN{segment=1038, position=38535810}} will be skipped during data restore [OLocalPaginatedStorage]OK
orientdb {db=component}> check database
...
Checking cluster browse_node for index browse_node_repository_name_parent_path_name_idx
cluster browse_node (27) | | 0%Exception `2B58F754` in storage `plocal:/nexus-data/db/component`: 2.2.36 (build d3beb772c02098ceaea89779a7afd4b7305d3788, branch 2.2.x)
java.lang.NullPointerException
at com.orientechnologies.orient.core.index.sbtree.local.OSBTree.findBucket(OSBTree.java:1674)
at com.orientechnologies.orient.core.index.sbtree.local.OSBTree.get(OSBTree.java:194)
at com.orientechnologies.orient.core.index.engine.OSBTreeIndexEngine.get(OSBTreeIndexEngine.java:128)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doGetIndexValue(OAbstractPaginatedStorage.java:2289)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.getIndexValue(OAbstractPaginatedStorage.java:2271)
at com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:58)
at com.orientechnologies.orient.core.index.OIndexOneValue.get(OIndexOneValue.java:40)
at com.orientechnologies.orient.core.index.OIndexAbstractDelegate.get(OIndexAbstractDelegate.java:58)
at com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:258)
at com.orientechnologies.orient.core.index.OIndexTxAwareOneValue.get(OIndexTxAwareOneValue.java:40)
at com.orientechnologies.orient.core.db.tool.OCheckIndexTool.checkThatRecordIsIndexed(OCheckIndexTool.java:153)
at com.orientechnologies.orient.core.db.tool.OCheckIndexTool.checkCluster(OCheckIndexTool.java:119)
at com.orientechnologies.orient.core.db.tool.OCheckIndexTool.checkIndex(OCheckIndexTool.java:97)
at com.orientechnologies.orient.core.db.tool.OCheckIndexTool.run(OCheckIndexTool.java:68)
at com.orientechnologies.orient.console.OConsoleDatabaseApp.checkDatabase(OConsoleDatabaseApp.java:2140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:405)
at com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:260)
at com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:131)
at com.orientechnologies.orient.console.OConsoleDatabaseApp.main(OConsoleDatabaseApp.java:145)
at org.sonatype.nexus.orient.console.Main.main(Main.java:63)
Error: java.lang.NullPointerException
orientdb {db=component}> REPAIR DATABASE
orientdb {db=component}> drop class browse_node
After restarting Nexus, the issue was solved.
This is also mentioned in
Thx, Torsten