java.lang.IllegalStateException

java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22534

  • via GitHub by seba--
    , 1 year ago
    java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
  • java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
  • java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
  • Stack trace

    • java.lang.IllegalStateException: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public" at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:423) at org.openide.util.WeakListenerImpl.create(WeakListenerImpl.java:164) at org.openide.util.WeakListeners.create(WeakListeners.java:271) at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:125) at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:142) at org.openide.filesystems.MultiFileSystem.getMultiRoot(MultiFileSystem.java:267) at org.openide.filesystems.MultiFileSystem.findResource(MultiFileSystem.java:355) at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2276) at org.openide.filesystems.FileUtil.getConfigRoot(FileUtil.java:2306) at org.netbeans.core.startup.CLICoreBridge.usage(CLICoreBridge.java:107) at org.netbeans.CLIHandler.showHelp(CLIHandler.java:162) at org.netbeans.CLIHandler.checkHelp(CLIHandler.java:216) at org.netbeans.CLIHandler.initialize(CLIHandler.java:567) at org.netbeans.CLIHandler.initialize(CLIHandler.java:383) at org.netbeans.MainImpl.execute(MainImpl.java:190) at org.netbeans.MainImpl.main(MainImpl.java:85) at org.netbeans.Main.main(Main.java:78) Caused by: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102) at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296) at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288) at java.lang.reflect.Constructor.newInstance(Constructor.java:412) at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:413) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    16 times, 3 weeks ago
    67 times, 3 weeks ago
    16 times, 5 months ago
    48 more bugmates