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

GitHub | halsafar | 6 months ago
  1. 0

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

    GitHub | 6 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
  2. 0
    The resource was accessed after it was dismissed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    Initialize the variable before calling a method on it.
  5. 0
    Use 'dialog' to access views from custom_layout layout.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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