Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.8.13] Starting scripts fails until I manually logon first time

Featured Replies

Previous thread is http://osbot.org/forum/topic/51748-error-starting-any-my-script/#entry578667

The issue is open (not fixed yet).

Confirming it on latest client version 1.8.13.

 

When I start ANY script just after starting client and opening new tab, it throws exception and even dont get to onStart() handler.

Seems like EquipmentTab.reset() throws NullPointerException until it is loaded at least one time. So, I need to logon account manually before starting any script. Please, fix it!

 

Stack trace:

[iNFO ][05/30/14 02:30:33 AM]: Loaded 28 built-in random solvers!
[ERROR][05/30/14 02:30:33 AM]: Failed to start script [Wait]
java.lang.NullPointerException
    at org.osbot.script.rs2.ui.EquipmentTab.reset(in:221)
    at org.osbot.wA.l(zh:116)
    at org.osbot.Lpt1.e(oo:185)
    at org.osbot.engine.Bot.e(bk:301)
    at org.osbot.script.engine.ScriptManager.startScript(sj:102)
    at org.osbot.lPt3.run(mh:284)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

thats because of the new equipment tab fix. Which make the script open its equipment tab once the script has started. But since your not logged in it return null. Thats the reason for the Null pointer exception.

 

java.lang.NullPointerException at org.osbot.script.rs2.ui.EquipmentTab.reset(in:221)

  • Author

Dear moderators, this is an error in client. Client should'nt throw exception at script initialization routine! Even dont getting called onStart() method. So, I am forced to logon manually. It is error. And yes, I know that it is because equipmentTab is BROKEN. But because it is BROKEN, not because I doing something wrong.

The issue has been resolved, you can download the latest version of the client (v1.8.14) here. The release notes can be viewed here.

 

If you have further issues feel free to create another thread, thank you for pointing out some of the minor bugs.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.