Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Error on Inventory.count after latest OSRS update


    setrin

    Recommended Posts

    Posted

    At 12:30 was OSRS update. Before script was working. After it's throwing error. Same script, nothing changed.

     

    12:50:35: [INFO] Successfully refreshed scripts!
    12:50:36: [INFO] Now loading OakChopper...
    12:50:36: [INFO] Saving client settings...
    12:50:36: [INFO] Client settings saved successfully!
    12:50:36: [INFO] Successfully saved client settings!
    12:50:36: [INFO] Starting game state listener!
    12:50:36: [INFO] Started game state listener!
    12:50:36: [INFO] Stopping previous experience listener...
    12:50:36: [INFO] Starting OakChopper now!
    12:50:36: [INFO] Script set to running!
    12:50:36: [WARN] This script threw an error, contact the script writer.
    12:50:36: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.NullPointerException: Cannot read the array length because "<local5>" is null
        at org.dreambot.api.wrappers.cache.HashTableIterable.0(HashTableIterable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.utilities.NodeContainerUtilities.findNodeByHash(NodeContainerUtilities.java)
        at org.dreambot.api.methods.container.impl.Inventory.all(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at OakChopper.onLoop(OakChopper.java:93)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java)
        at java.base/java.lang.Thread.run(Thread.java:833)

    12:50:37: [INFO] Stopped previous experience listener!
    12:50:37: [INFO] Starting experience listener...
    12:50:37: [INFO] Started experience listener!
    12:50:37: [INFO] Stopping previous inventory listener...
    12:50:37: [WARN] This script threw an error, contact the script writer.
    12:50:37: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.NullPointerException: Cannot read the array length because "<local5>" is null
        at org.dreambot.api.wrappers.cache.HashTableIterable.0(HashTableIterable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.utilities.NodeContainerUtilities.findNodeByHash(NodeContainerUtilities.java)
        at org.dreambot.api.methods.container.impl.Inventory.all(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at OakChopper.onLoop(OakChopper.java:93)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java)
        at java.base/java.lang.Thread.run(Thread.java:833)

    12:50:38: [INFO] Stopped previous inventory listener!
    12:50:38: [INFO] Starting inventory listener...
    12:50:38: [INFO] Started inventory listener!
    12:50:38: [WARN] This script threw an error, contact the script writer.
    12:50:38: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.NullPointerException: Cannot read the array length because "<local5>" is null
        at org.dreambot.api.wrappers.cache.HashTableIterable.0(HashTableIterable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.utilities.NodeContainerUtilities.findNodeByHash(NodeContainerUtilities.java)
        at org.dreambot.api.methods.container.impl.Inventory.all(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at OakChopper.onLoop(OakChopper.java:93)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java)
        at java.base/java.lang.Thread.run(Thread.java:833)

    12:50:39: [WARN] This script threw an error, contact the script writer.
    12:50:39: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.NullPointerException: Cannot read the array length because "<local5>" is null
        at org.dreambot.api.wrappers.cache.HashTableIterable.0(HashTableIterable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.wrappers.cache.HashTable.getNodes(HashTable.java)
        at org.dreambot.api.utilities.NodeContainerUtilities.findNodeByHash(NodeContainerUtilities.java)
        at org.dreambot.api.methods.container.impl.Inventory.all(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at org.dreambot.api.methods.container.impl.Inventory.count(Inventory.java)
        at OakChopper.onLoop(OakChopper.java:93)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java)
        at java.base/java.lang.Thread.run(Thread.java:833)

    12:50:39: [INFO] Stopping OakChopper...
    12:50:39: [INFO] Stopping script: OakChopper
    12:50:39: [INFO] Stopped OakChopper!
     

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.