Jump to content

Bug


Recommended Posts

Posted

Hi ,


If i load a script for woodcutting it says looking for new three but he didn't do anything and if the script says dropping, he don't do itl only if i take control over the mouse and aim on a three then eh does , but if i am not playing, he doens't click automaticly on a tree.


What i need to do?


Thanks for looking and sorry for bad english


 


Jarne10125


 

Posted

doesn't work

at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:39:01 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at


at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:51 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:52 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:53 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:54 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:55 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:56 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:57 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:58 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:40:59 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:41:00 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:41:01 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
[ERROR][bot #1][06/11 07:41:02 PM]: Error in script executor!
java.lang.NullPointerException
at org.osbot.rs07.event.InteractionEvent.<init>(xm:104)
at org.osbot.rs07.api.Tabs.open(kj:12)
at CoN.E(b:112)
at CoN.E(b:95)
at PowerChopper.E(v:88)
at PowerChopper.onLoop(v:186)
at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ym:161)
at java.lang.Thread.run(Unknown Source)
 
Posted (edited)

doesn't work ;(

[ERROR][bot #1][06/11 07:41:02 PM]: Error in script executor! i think there is something wrong with executo.

Do you have the source code for the script?

The stack trace is basically saying, "When the script tried creating an InteractionEvent, it tried using a variable which did not contain an expected object".

Although the NPE occured "under the hood", that does not mean the cause of the problem resides there; you could have triggered something that caused it. To find the cause, we follow the stack trace.

We can look through possible locations of the problem by reading the stack trace from bottom to top:

  • The script thread calls onLoop of class PowerChopper.
  •  
  • onLoop calls the method E of PowerChopper at line 186 of the PowerChopper file. Line 186 resides in the onLoop method; it's where onLoop calls E.
  •  
  • E calls the method E of CoN at line 88 of PowerChopper. Line 88 resides in the E method (of powerchopper); it's where CoN#E is called.

You should first examine the parts you have access to (PowerChopper#onLoop and PowerChopper#E). Once you have exhausted all the methods you have access to (once you have reached a method in the stacktrace that belongs to the API/Client), then you can ask someone who has access to that code to see what's going on.

You must also know what a NullPointerException is. "under the hood", either a reference variable is not being initialized properly (thus pointing to null, and raising a NPE when used), or it's being passed the null value (you are passing it null). The second situation is what you want to watch out for.

Edited by fixthissite

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
  • Recently Browsing   0 members

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