When hovering over/clicking things on the edge of the scene (especially while moving) the findTileObject method throws a bunch of ArrayIndexOutOfBoundsExceptions. I think this could be fixed by either bounds checking the scene, or by using Scene::getExtendedScene (and bound checking :P), but you could probably have figured that out yourself ;)
Some stacktraces for good measure:
2025-03-30 13:40:11 CEST [Client] WARN n.runelite.client.eventbus.EventBus - Uncaught exception in event subscriber java.lang.ArrayIndexOutOfBoundsException: Index 110 out of bounds for length 104 at com.pathmarker.PathMarkerPlugin.findTileObject(PathMarkerPlugin.java:760) at com.pathmarker.PathMarkerPlugin.onMenuOptionClicked(PathMarkerPlugin.java:945) at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:70)
2025-03-30 13:40:11 CEST [Client] WARN n.runelite.client.eventbus.EventBus - Uncaught exception in event subscriber java.lang.ArrayIndexOutOfBoundsException: Index 110 out of bounds for length 104 at com.pathmarker.PathMarkerPlugin.findTileObject(PathMarkerPlugin.java:760) at com.pathmarker.PathMarkerPlugin.pathToHover(PathMarkerPlugin.java:316) at com.pathmarker.PathMarkerPlugin.onGameTick(PathMarkerPlugin.java:1217) at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:70)
When hovering over/clicking things on the edge of the scene (especially while moving) the
findTileObjectmethod throws a bunch ofArrayIndexOutOfBoundsExceptions. I think this could be fixed by either bounds checking the scene, or by usingScene::getExtendedScene(and bound checking :P), but you could probably have figured that out yourself ;)Some stacktraces for good measure: