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
  • Try asking for help in the chatbox
  • InventoryListener crashing Quickstart


    Scorpius
     Share

    Recommended Posts

    If a script quickstarts while it's implementing InventoryListener... it just crashes

    Here's the error I get, the script just stops afterwards without printing anything in the console (The control buttons go white and I can re-start the script.... it works fine then; the problem is with quickstart)

    I tried deleting my entire Dreambot folder but this error keeps coming... I ran an empty script sent by @Hashtag and the same error occured... He was clueless by then

    java.lang.NullPointerException
            at org.dreambot.api.methods.widget.Widgets.getWidget(Widgets.java:83)
            at org.dreambot.api.methods.container.impl.bank.Bank.isOpen(Bank.java:191)
            at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:241)
            at java.lang.Thread.run(Unknown Source)
    
    java.lang.NullPointerException
            at org.dreambot.api.methods.widget.Widgets.getWidget(Widgets.java:83)
            at org.dreambot.api.methods.container.impl.bank.Bank.isOpen(Bank.java:191)
            at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:241)
            at java.lang.Thread.run(Unknown Source)
     
    
    Edited by zScorpio
    Link to comment
    Share on other sites

    This is not because of the InventoryListener 

     

    Edit: kept reading and came to the conclusion that the error you posted is not because of the InventoryListener*

     

    Edit2: probably atleast

     

    Edit3: according to Nezz it is actually the Listener, tried myself and I get no error??

    Edited by Dinh
    Link to comment
    Share on other sites

    This is not because of the InventoryListener 

     

    Edit: kept reading and came to the conclusion that the error you posted is not because of the InventoryListener*

     

    Edit2: probably atleast

    thanks for your input

    Link to comment
    Share on other sites

    • 5 months later...

    It is because of the listener. I already see a fix but I see weird logic that I have to ask noto about before I can actually push it. Pretty sure he was the one that wrote it originally.

    is this fixed yet?

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • 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.