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

GitHub | halsafar | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

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

    Root Cause Analysis

    1. 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()
    2. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:104)
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:125)
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:130)
      4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
      4 frames
    3. POGOProtos.Networking.Responses
      GetPlayerResponseOuterClass$GetPlayerResponse.parseFrom
      1. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse.parseFrom(GetPlayerResponseOuterClass.java:230)
      1 frame
    4. com.pokegoapi.api
      PokemonGo.<init>
      1. com.pokegoapi.api.PokemonGo.getLocalPlayer(PokemonGo.java:72)
      2. com.pokegoapi.api.PokemonGo.getPlayerProfile(PokemonGo.java:89)
      3. com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:53)
      3 frames
    5. Unknown
      Application.loginTest
      1. Application.loginTest(Application.java:32)
      1 frame