Jump to content

Too many errors?


Eco

Recommended Posts

Can having too many errors pop up in the log cause the script to freeze? (still running though)

 

and also this is what keeps popping up while the script is running:

 

[
ERROR][Bot #1][05/11 07:07:39 PM]: Failed to wrap : class client.Kuo
java.lang.RuntimeException: Could not initiate wrapper : RS2Widget
at org.osbot.core.api.Wrapper.wrap(fk:62)
at org.osbot.rs07.api.Widgets.getWidgets(lf:167)
at org.osbot.rs07.api.Widgets.get(lf:245)
at org.osbot.rs07.api.Worlds$2.condition(jf:253)
at org.osbot.rs07.utility.ConditionalSleep.sleep(cd:247)
at org.osbot.rs07.api.Worlds.iIiiIIIIIi(jf:61)
at org.osbot.rs07.api.Worlds.hop(jf:177)
at random.hopWorlds(random.java:113)
at random.onLoop(random.java:38)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lk:242)
at java.lang.Thread.run(Thread.java:745)
[ERROR][Bot #1][05/11 07:07:44 PM]: Error in script executor!
java.lang.NullPointerException

I think it's a mirror mode issue?

Edited by Economics
Link to comment
Share on other sites

Can having too many errors pop up in the log cause the script to freeze? (still running though)

 

and also this is what keeps popping up while the script is running:

 

[
ERROR][Bot #1][05/11 07:07:39 PM]: Failed to wrap : class client.Kuo
java.lang.RuntimeException: Could not initiate wrapper : RS2Widget
at org.osbot.core.api.Wrapper.wrap(fk:62)
at org.osbot.rs07.api.Widgets.getWidgets(lf:167)
at org.osbot.rs07.api.Widgets.get(lf:245)
at org.osbot.rs07.api.Worlds$2.condition(jf:253)
at org.osbot.rs07.utility.ConditionalSleep.sleep(cd:247)
at org.osbot.rs07.api.Worlds.iIiiIIIIIi(jf:61)
at org.osbot.rs07.api.Worlds.hop(jf:177)
at random.hopWorlds(random.java:113)
at random.onLoop(random.java:38)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lk:242)
at java.lang.Thread.run(Thread.java:745)
[ERROR][Bot #1][05/11 07:07:44 PM]: Error in script executor!
java.lang.NullPointerException

I think it's a mirror mode issue?

 

Yes, things like NullPointerExceptions will cause the script to freeze.

 

Assuming that all your code does is getWorlds().hopToP2PWorld() or some similar method, then it looks like that is an issue with the world hopper, you can post it as a client bug here:

 

http://osbot.org/forum/forum/316-bug-reports/

 

As a temporary fix you could always write your own world hopper, or try and use this one (until it is fixed):

 

http://osbot.org/forum/topic/73332-quick-hopper/?p=811421

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...