java.io.EOFException: End of input at line 1 column 1 path $ 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:205) 08-09 12:24:55.542 25080-25080/com.x.y I/System.out: at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)

GitHub | arushijain45 | 9 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

    GitHub comment 1963#238469664

    GitHub | 9 months ago | arushijain45
    java.io.EOFException: End of input at line 1 column 1 path $ 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:205) 08-09 12:24:55.542 25080-25080/com.x.y I/System.out: at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)

    Root Cause Analysis

    1. java.io.EOFException

      End of input at line 1 column 1 path $ 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) 08-09 12:24:55.540 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) 08-09 12:24:55.541 25080-25080/com.x.y I/System.out: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:205) 08-09 12:24:55.542 25080-25080/com.x.y I/System.out: at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37)

      at retrofit2.converter.gson.GsonResponseBodyConverter.convert()
    2. retrofit2.converter.gson
      GsonResponseBodyConverter.convert
      1. retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25)
      1 frame
    3. retrofit2
      OkHttpCall$1.onResponse
      1. retrofit2.ServiceMethod.toResponse(ServiceMethod.java:117)
      2. retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211)
      3. retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:106)
      3 frames
    4. okhttp3
      RealCall$AsyncCall.execute
      1. okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
      1 frame
    5. okhttp3.internal
      NamedRunnable.run
      1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
      1 frame
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      2 frames