java.lang.IllegalStateException: size == 0

GitHub | swankjesse | 5 months ago
  1. 0

    ProtoReader#readVarint64 can throw an IllegalStateException

    GitHub | 5 months ago | swankjesse
    java.lang.IllegalStateException: size == 0
  2. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The cursor might not be initalized.
  6. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher

    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.IllegalStateException

      size == 0

      at okio.Buffer.readByte()
    2. Okio
      Buffer.readByte
      1. okio.Buffer.readByte(Buffer.java:273)
      1 frame
    3. com.squareup.wire
      ProtoReader.readVarint64
      1. com.squareup.wire.ProtoReader.readVarint64(ProtoReader.java:330)
      1 frame