Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting: java.lang.NullPointerException #56

Open
LosTigeros opened this issue Aug 20, 2015 · 5 comments
Open

Error connecting: java.lang.NullPointerException #56

LosTigeros opened this issue Aug 20, 2015 · 5 comments

Comments

@LosTigeros
Copy link

I compiled darkbot from this fork:
https://github.com/DarkStorm652/DarkBot/tree/8a7234b136e8d24d910c0d96c3f4b1fbd5691847

After compiling I tried to run it but with no success.

I get This error message:
[Bot0] Error connecting: java.lang.NullPointerException
[Bot4] Error connecting: java.lang.NullPointerException
[Bot8] Error connecting: java.lang.NullPointerException
[Bot3] Error connecting: java.lang.NullPointerException
[Bot6] Error connecting: java.lang.NullPointerException
[Bot2] Error connecting: java.lang.NullPointerException
[Bot1] Error connecting: java.lang.NullPointerException
[Bot7] Error connecting: java.lang.NullPointerException
[Bot7] Error connecting: java.lang.NullPointerException
[Bot1] Error connecting: java.lang.NullPointerException
[Bot2] Error connecting: java.lang.NullPointerException
[Bot6] Error connecting: java.lang.NullPointerException
[Bot3] Error connecting: java.lang.NullPointerException
[Bot8] Error connecting: java.lang.NullPointerException
...

Startup line:
java -jar DarkBot.jar -t spambot -O -a --tor -b 10 -s 69.69.69.69:1337 -o LosTigeros --protocol 4 -d 0

IP <3

._.

@t81lal
Copy link

t81lal commented Aug 20, 2015

Full stacktrace needed. Run from Eclipse and debug or at least find where the error is being thrown.

@LosTigeros
Copy link
Author

Debug with Eclipse:
http://youtu.be/_qowJXpxoDk

@t81lal
Copy link

t81lal commented Aug 22, 2015

@LosTigeros
Copy link
Author

It's already added.
http://screenshot.sh/n7Sb9GF5ZQRsn

Project from Eclipse:
http://www90.zippyshare.com/v/weoFhIIF/file.html

@DarkStorm652
Copy link
Owner

Yep, you're on the wrong branch

On Sat, Aug 22, 2015 at 7:47 AM, Bibl < [email protected] [[email protected]] > wrote:
add a println to print out the arguments to this method

https://github.com/DarkStorm652/DarkBot/blob/master/src/main/java/org/darkstorm/darkbot/mcwrapper/cli/CLISpamBotWrapper.java#L708
[https://github.com/DarkStorm652/DarkBot/blob/master/src/main/java/org/darkstorm/darkbot/mcwrapper/cli/CLISpamBotWrapper.java#L708]


Reply to this email directly or view it on GitHub
[https://github.com//issues/56#issuecomment-133679003] .[https://github.com/notifications/beacon/AAfFV8bIFBRICwuqkSXlyI4XgbTL_aZbks5oqFjJgaJpZM4FvGeX.gif]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants