Bug UnsupportedOp Environment.getStorageDirectory

Discussion in 'Client & Site Support' started by Aidden, Jul 13, 2016.

  1. Okay so the method name is wrong, line 81 is indeed getStorageDirectory but it's the initialise method not shutdown, which i've been told can be expected. But the issue is that initialise is only called from onStart so i don't see how it's not on the bot thread. @Cloud

    Code (Text):
    1.  
    2. java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads.
    3.  at nul.IiiiIIiIIIiI.super(nkb:6)
    4.  at com.runemate.game.api.hybrid.Environment.getScript(jnb:135)
    5.  at com.runemate.game.api.hybrid.Environment.getStorageDirectory(jnb:20)
    6.  at com.runemate.api.framework.MaxiScript.shutdown(MaxiScript.java:81)
    7.  at com.runemate.api.framework.MaxiScript.shutdown(MaxiScript.java:107)
    8.  at com.runemate.maxibots.looping.fisher.MaxiFisher.onStart(MaxiFisher.java:51)
    9.  at com.runemate.game.api.script.framework.AbstractScript.start(ifb:145)
    10.  at nul.iIIiIIiiIiII.run(dmb:200)
    11. RuneMate v2.2.9.0 - MaxiFisher v1.2.91 - OSRS B9139C - Windows 10 - Java8u92 x86 (Oracle Corporation)
    --- Double Post Merged, Jul 13, 2016, Original Post Date: Jul 13, 2016 ---
    No point making new threads for each of these so here's another one
    Code (Text):
    1.  
    2. java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads.
    3.  at nul.IiiiIIiIIIiI.super(nkb:6)
    4.  at com.runemate.game.api.hybrid.Environment.getGameType(jnb:174)
    5.  at com.runemate.game.api.hybrid.Environment.isRS3(jnb:23)
    6.  at com.runemate.game.api.hybrid.RuneScape.isLoggedIn(vmb:168)
    7.  at nul.iIIiIIiiIiII.run(dmb:228)
    8. RuneMate v2.2.9.0 - MaxiSmelter v1.0.9 - RS3 42DEC9 - Windows 10 - Java8u92 x86 (Oracle Corporation)
     

Share This Page

Loading...