netscape.javascript.JSException: java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline can not access a member of class packagetwo.MainWindow$1 with modifiers "public"

Stack Overflow | MrJman006 | 2 months ago
  1. 0

    Javafx WebView can not access a member of class ... with modifiers "public"

    Stack Overflow | 2 months ago | MrJman006
    netscape.javascript.JSException: java.lang.IllegalAccessException: Class sun.reflect.misc.Trampoline can not access a member of class packagetwo.MainWindow$1 with modifiers "public"
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalAccessException

      Class sun.reflect.misc.Trampoline can not access a member of class packagetwo.MainWindow$1 with modifiers "public"

      at sun.reflect.Reflection.ensureMemberAccess()
    2. Java RT
      MethodUtil.invoke
      1. sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
      2. java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
      3. java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
      4. java.lang.reflect.Method.invoke(Method.java:491)
      5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
      6. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      8. java.lang.reflect.Method.invoke(Method.java:498)
      9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
      9 frames
    3. com.sun.webkit
      Utilities.lambda$fwkInvokeWithContext$55
      1. com.sun.webkit.Utilities.lambda$fwkInvokeWithContext$55(Utilities.java:94)
      1 frame
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. com.sun.webkit
      WebPage.executeScript
      1. com.sun.webkit.Utilities.fwkInvokeWithContext(Utilities.java:94)
      2. com.sun.webkit.WebPage.twkExecuteScript(Native Method)
      3. com.sun.webkit.WebPage.executeScript(WebPage.java:1439)
      3 frames
    6. javafx.scene.web
      WebEngine.executeScript
      1. javafx.scene.web.WebEngine.executeScript(WebEngine.java:982)
      1 frame
    7. packagetwo
      MainWindow$2.changed
      1. packagetwo.MainWindow.makeUpCall(MainWindow.java:130)
      2. packagetwo.MainWindow.access$000(MainWindow.java:22)
      3. packagetwo.MainWindow$2.changed(MainWindow.java:83)
      4. packagetwo.MainWindow$2.changed(MainWindow.java:68)
      4 frames
    8. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      2 frames
    9. javafx.beans.property
      ObjectPropertyBase.set
      1. javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
      2. javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
      3. javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
      4. javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
      4 frames
    10. javafx.scene.web
      WebEngine$PageLoadListener.dispatchLoadEvent
      1. javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1260)
      2. javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1371)
      3. javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1253)
      4. javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1240)
      4 frames
    11. com.sun.webkit
      URLLoader.lambda$didFinishLoading$96
      1. com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2400)
      2. com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2244)
      3. com.sun.webkit.network.URLLoader.twkDidFinishLoading(Native Method)
      4. com.sun.webkit.network.URLLoader.notifyDidFinishLoading(URLLoader.java:838)
      5. com.sun.webkit.network.URLLoader.lambda$didFinishLoading$96(URLLoader.java:829)
      5 frames
    12. com.sun.javafx
      PlatformImpl.lambda$null$173
      1. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      1 frame
    13. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    14. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    15. com.sun.glass
      WinApplication.lambda$null$148
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      3. com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      3 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame