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 protected void java.net.URLClassLoader.addURL(java.net.URL) accessible: module java.base does not "opens java.net" to unnamed module @490ab905 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:207) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:192) at java.base/java.lang.reflect.Method.setAccessible(Method.java:186) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.findMethod(BaseStorage.java:174) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.findMethod(BaseStorage.java:181) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.findAddURLMethod(BaseStorage.java:165) at org.eclipse.osgi.internal.baseadaptor.BaseStorage.<init>(BaseStorage.java:135) at org.eclipse.osgi.internal.baseadaptor.BaseHookConfigurator.addHooks(BaseHookConfigurator.java:24) at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:178) at org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100) at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
No Bugmate found.