-
Notifications
You must be signed in to change notification settings - Fork 334
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
Exception: Attempt to invoke virtual method 'com.google.protobuf.CodedInputStream com.google.protobuf.ByteString.newCodedInput()' on a null object reference #47
Comments
https://github.com/Grover-c13/PokeGOAPI-Java/blob/master/src/main/java/com/pokegoapi/auth/GoogleLogin.java#L45 |
This come from the niantic server being under heavy load, there are very unstable, check the status here. |
ups sorry about that I misread. thanks for the correction @vmarchaud |
Yeah, this error is related to the servers being offline right now. |
Thanks for the clarification. It must be server load. If I run the same piece of code a bunch of times in a row I get slightly different results.
If this is all expected due to the naintic servers being under heavy load then lets close this. |
Noted. |
That is actually a bug waiting to be fixed in #46 |
This just started in the last 24 hours with some updates to the repo and POGOProtos.
Running the following:
EnvelopesOuterClass.Envelopes.RequestEnvelope.AuthInfo auth = new PTCLogin(client).login(username, password); Log.d(LOG_TAG, auth.toString()); PokemonGoApi = new PokemonGo(auth, client);
Yields this:
Sometimes it is yielding this exception as well:
Apologies if this is just simply that their API has changed over night.
I am almost ready to push to here a fully working Android version but I need to get this resolved.
The text was updated successfully, but these errors were encountered: