java.lang.reflect.InaccessibleObjectException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.reflect.InaccessibleObjectException: Unable to make member of class com.sun.management.internal.OperatingSystemImpl accessible: module jdk.management does not export com.sun.management.internal to unnamed module @41e68d87 at sun.reflect.Reflection.throwInaccessibleObjectException(java.base@9-internal/Reflection.java:420) at java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-internal/AccessibleObject.java:174) at java.lang.reflect.Method.checkCanSetAccessible(java.base@9-internal/Method.java:189) at java.lang.reflect.Method.setAccessible(java.base@9-internal/Method.java:183) at com.orientechnologies.common.util.OMemory.getPhysicalMemorySize(OMemory.java:65) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaultDiskCacheSize(OMemoryAndLocalPaginatedEnginesInitializer.java:80) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaults(OMemoryAndLocalPaginatedEnginesInitializer.java:63) at com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.initialize(OMemoryAndLocalPaginatedEnginesInitializer.java:52) at com.orientechnologies.orient.core.engine.local.OEngineLocalPaginated.startup(OEngineLocalPaginated.java:56) at com.orientechnologies.orient.core.Orient.startEngine(Orient.java:872) at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:480) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:167) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:148) at com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:151) at com.orientechnologies.orient.server.OSystemDatabase.<init>(OSystemDatabase.java:44) at com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1227) at com.orientechnologies.orient.server.OServer.activate(OServer.java:342) at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
No Bugmate found.