Resolved NPE at AbstractScript.stop(mqb:86) spam

Discussion in 'Developer Support' started by SlashnHax, Feb 22, 2016.

  1. Code (Text):
    1. java.lang.NullPointerException
    2. at com.runemate.game.api.script.framework.AbstractScript.stop(mqb:86)
    3. at com.runemate.game.api.script.framework.core.LoopingThread$LTExceptionHandler.uncaughtException(zub:7)
    4. at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
    5. at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
    6. at com.sun.glass.ui.Application.reportException(Application.java:453)
    7. at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    8. at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    9. at java.lang.Thread.run(Thread.java:745)
    Seems to be similar to https://www.runemate.com/community/threads/java-lang-unsupportedoperationexception-spam.5749/ but I'm not sure if they're related.
    @Cloud

     
  2. Best Answer:
    Post #4 by Arbiter, Apr 6, 2016
  3. The only way I could see this happening is if stop was invoked twice for some reason.
    --- Double Post Merged, Feb 23, 2016, Original Post Date: Feb 23, 2016 ---
    Actually there must of been another stacktrace that occurred directly before that one was printed.
     
  4. Code (Text):
    1. java.lang.IndexOutOfBoundsException
    2.  at com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.subList(ReadOnlyUnbackedObservableList.java:136)
    3.  at javafx.collections.ListChangeListener$Change.getAddedSubList(ListChangeListener.java:242)
    4.  at com.sun.javafx.scene.control.behavior.ListViewBehavior.lambda$new$177(ListViewBehavior.java:269)
    5.  at javafx.collections.WeakListChangeListener.onChanged(WeakListChangeListener.java:88)
    6.  at com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)
    7.  at com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)
    8.  at com.sun.javafx.scene.control.ReadOnlyUnbackedObservableList.callObservers(ReadOnlyUnbackedObservableList.java:75)
    9.  at javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:378)
    10.  at javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearAndSelect(ListView.java:1403)
    11.  at com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:256)
    12.  at com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:220)
    13.  at com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:150)
    14.  at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:95)
    15.  at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
    16.  at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    17.  at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    18.  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    19.  at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    20.  at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    21.  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    22.  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    23.  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    24.  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    25.  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    26.  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    27.  at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    28.  at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    29.  at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    30.  at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    31.  at javafx.event.Event.fireEvent(Event.java:198)
    32.  at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    33.  at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    34.  at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    35.  at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    36.  at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:352)
    37.  at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:275)
    38.  at java.security.AccessController.doPrivileged(Native Method)
    39.  at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:388)
    40.  at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    41.  at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:387)
    42.  at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    43.  at com.sun.glass.ui.View.notifyMouse(View.java:937)
    44.  at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    45.  at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
    46.  at java.lang.Thread.run(Thread.java:745)
    47.  
     
  5. Resolving due to thread age. Please re-post if the bug still exists.
     

Share This Page

Loading...