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)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by arushijain45
, 1 year ago
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
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(GsonResponseBodyConverter.java:25)
at retrofit2.ServiceMethod.toResponse(ServiceMethod.java:117)
at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211)
at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:106)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:133)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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