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)

Stack Overflow | kwoxer | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    isAuthorized() Exception: Can not close file with id 0 because it is still in use

    Stack Overflow | 10 months ago | kwoxer
    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)

    Root Cause Analysis

    1. 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()
    2. OrientDB Core
      ODatabaseDocumentTx.<init>
      1. com.orientechnologies.common.util.OMemory.getPhysicalMemorySize(OMemory.java:65)
      2. com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaultDiskCacheSize(OMemoryAndLocalPaginatedEnginesInitializer.java:80)
      3. com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.configureDefaults(OMemoryAndLocalPaginatedEnginesInitializer.java:63)
      4. com.orientechnologies.orient.core.engine.OMemoryAndLocalPaginatedEnginesInitializer.initialize(OMemoryAndLocalPaginatedEnginesInitializer.java:52)
      5. com.orientechnologies.orient.core.engine.local.OEngineLocalPaginated.startup(OEngineLocalPaginated.java:56)
      6. com.orientechnologies.orient.core.Orient.startEngine(Orient.java:872)
      7. com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:480)
      8. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:167)
      9. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:148)
      9 frames
    3. OrientDB Server
      OServerMain.main
      1. com.orientechnologies.orient.server.OSystemDatabase.init(OSystemDatabase.java:151)
      2. com.orientechnologies.orient.server.OSystemDatabase.<init>(OSystemDatabase.java:44)
      3. com.orientechnologies.orient.server.OServer.initSystemDatabase(OServer.java:1227)
      4. com.orientechnologies.orient.server.OServer.activate(OServer.java:342)
      5. com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
      5 frames