java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.protobuf.CodedInputStream com.google.protobuf.ByteString.newCodedInput()' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by halsafar
, 1 year ago
Attempt to invoke virtual method 'com.google.protobuf.CodedInputStream com.google.protobuf.ByteString.newCodedInput()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.protobuf.CodedInputStream com.google.protobuf.ByteString.newCodedInput()' on a null object reference
at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:104)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:125)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:130)
at POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse.parseFrom(GetPlayerResponseOuterClass.java:230)
at com.pokegoapi.api.PokemonGo.getLocalPlayer(PokemonGo.java:72)
at com.pokegoapi.api.PokemonGo.getPlayerProfile(PokemonGo.java:89)
at com.pokegoapi.api.PokemonGo.(PokemonGo.java:53)
at undefined.Application.loginTest(Application.java:32)

Users with the same issue

2 times, 1 month ago

Know the solutions? Share your knowledge to help other developers to debug faster.