PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

NullPointerException at login

Open Taraegon opened this issue 10 years ago • 12 comments

Description: As per the log below. Fails to login successfully

Steps to reproduce:

  1. Attempt to login

Expected behavior: Successful login. No change to config file since previous login

Actual behavior: Crash

Stacktrace (If it's a crash): 15 Aug 00:30:12 [default] - Logging in to game server... 15 Aug 00:30:16 [default] - Logged in successfully Getting profile data from pogo server. 15 Aug 00:30:19 [default] - Accepting ToS Exception in thread "default" java.lang.NullPointerException at ink.abb.pogo.scraper.Bot.(Bot.kt:43) at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:294) at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:145) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)

Version: v0.5.2

Operating System: OSX 10.9.5

Java version: java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Taraegon avatar Aug 14 '16 14:08 Taraegon

Your bot cant accept the ToS screen somehow. Maybe they have changed it. I think you must manually do this once if it is a new account (to get the bot going right now).

alexlautenschlager avatar Aug 14 '16 14:08 alexlautenschlager

Your account = banned

Try to login on the official app and when it says "can not retrieve game data, retry", RIP

Also duplicate of #1015 #1035

Sieberkev avatar Aug 14 '16 14:08 Sieberkev

Will try via the official app. wish me luck lol. It's a PTC account though... Edit: So I tried. Over and over again "Failed to get game data from server". Click "Retry" and same message again.

Heck hoping not a permaban.

Taraegon avatar Aug 14 '16 14:08 Taraegon

You have been banned (as I was) ;)

gabrielklein avatar Aug 14 '16 14:08 gabrielklein

It is a permaban, over 3 days now at my acc

alexlautenschlager avatar Aug 14 '16 14:08 alexlautenschlager

Leaves me with one other account. Gotta be careful now...

Taraegon avatar Aug 14 '16 14:08 Taraegon

Yep, RIP pokemons.

I fiddled around a bit with the API on my main account (which is banned too), I could fetch my profile data but all stats/pokes/items were completely erased.

Sieberkev avatar Aug 14 '16 14:08 Sieberkev

Banned

gunzza avatar Aug 14 '16 14:08 gunzza

@Sieberkev how to check that.

pvase666 avatar Aug 14 '16 15:08 pvase666

start the application with your phone... if you cannot start it, time to play another game.

gabrielklein avatar Aug 14 '16 15:08 gabrielklein

@pvase666 in the Main.tk after the print("Getting profile data from pogo server") block you can try and call several api.* objects (api.inventories.pokebank.pokemons.size) and output their data...

Sieberkev avatar Aug 14 '16 15:08 Sieberkev

Yup banned. I've been running a bot for 5days cause for last 1 week my gym was occupied by 8 trainers all lvl29-34, Dragonites with 2300+ CP.

Went and kicked some a$$ this morning. Now the account does not work anymore. However my original account works fine. So the bot account has been banned today.

raa3f avatar Aug 15 '16 13:08 raa3f