Resolved Exception when trying to stop the script.

Discussion in 'Developer Support' started by Qosmiof2, Mar 28, 2016.

  1. Code (Text):
    1.  
    2. Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java
    3. .lang.reflect.InvocationTargetException
    4.   at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1774)
    5.   at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader
    6. .java:1657)
    7.   at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Comp
    8. ositeEventHandler.java:86)
    9.   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventH
    10. andlerManager.java:238)
    11.   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventH
    12. andlerManager.java:191)
    13.   at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(C
    14. ompositeEventDispatcher.java:59)
    15.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    16. patcher.java:58)
    17.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    18. chChainImpl.java:114)
    19.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    20. patcher.java:56)
    21.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    22. chChainImpl.java:114)
    23.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    24. patcher.java:56)
    25.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    26. chChainImpl.java:114)
    27.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    28. patcher.java:56)
    29.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    30. chChainImpl.java:114)
    31.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    32. patcher.java:56)
    33.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    34. chChainImpl.java:114)
    35.   at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    36.   at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    37.   at javafx.event.Event.fireEvent(Event.java:198)
    38.   at javafx.scene.Node.fireEvent(Node.java:8411)
    39.   at javafx.scene.control.Button.fire(Button.java:185)
    40.   at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Bu
    41. ttonBehavior.java:182)
    42.   at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorS
    43. kinBase.java:96)
    44.   at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorS
    45. kinBase.java:89)
    46.   at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.h
    47. andleBubblingEvent(CompositeEventHandler.java:218)
    48.   at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Comp
    49. ositeEventHandler.java:80)
    50.   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventH
    51. andlerManager.java:238)
    52.   at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventH
    53. andlerManager.java:191)
    54.   at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(C
    55. ompositeEventDispatcher.java:59)
    56.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    57. patcher.java:58)
    58.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    59. chChainImpl.java:114)
    60.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    61. patcher.java:56)
    62.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    63. chChainImpl.java:114)
    64.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    65. patcher.java:56)
    66.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    67. chChainImpl.java:114)
    68.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    69. patcher.java:56)
    70.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    71. chChainImpl.java:114)
    72.   at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDis
    73. patcher.java:56)
    74.   at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispat
    75. chChainImpl.java:114)
    76.   at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    77.   at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    78.   at javafx.event.Event.fireEvent(Event.java:198)
    79.   at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    80.   at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    81.   at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    82.   at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    83.   at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotificatio
    84. n.run(GlassViewEventHandler.java:352)
    85.   at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotificatio
    86. n.run(GlassViewEventHandler.java:275)
    87.   at java.security.AccessController.doPrivileged(Native Method)
    88.   at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEve
    89. nt$354(GlassViewEventHandler.java:388)
    90.   at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Quantum
    91. Toolkit.java:389)
    92.   at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Glas
    93. sViewEventHandler.java:387)
    94.   at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    95.   at com.sun.glass.ui.View.notifyMouse(View.java:937)
    96.   at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    97.   at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.ja
    98. va:191)
    99.   at java.lang.Thread.run(Thread.java:745)
    100. Caused by: java.lang.reflect.InvocationTargetException
    101.   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    102.   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    103. java:62)
    104.   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    105. sorImpl.java:43)
    106.   at java.lang.reflect.Method.invoke(Method.java:498)
    107.   at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
    108.   at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    109.   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    110. sorImpl.java:43)
    111.   at java.lang.reflect.Method.invoke(Method.java:498)
    112.   at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
    113.   at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)
    114.   ... 56 more
    115. Caused by: java.lang.UnsupportedOperationException: Calling methods that must qu
    116. ery the session for information is no longer allowed within non-bot threads.
    117.   at nul.iiiIiiIiIiiii.goto(ycc:459)
    118.   at com.runemate.game.api.script.framework.AbstractScript.stop(mec:126)
    119.   at nul.IIIiIiIiIiIIi.onStopButtonClicked(hrb:173)
    120.   ... 66 more
    121.  
    @Arbiter
     
  2. Best Answer:
    Post #2 by Cloud, Mar 28, 2016

Share This Page

Loading...