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
  • InventoryListener crashing Quickstart


    Scorpius

    Recommended Posts

    Posted

    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)
     
    
    Posted

    You could always, ya know... not use InventoryListener

    Posted

    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??

    Posted

    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

    Posted

    You could always, ya know... not use InventoryListener

    omfg my life....
    Posted

    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.

    • 5 months later...
    Posted

    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?

    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.