Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when click on rephoto draft #2

Open
muhammadarif1 opened this issue Jul 8, 2019 · 0 comments
Open

crash when click on rephoto draft #2

muhammadarif1 opened this issue Jul 8, 2019 · 0 comments

Comments

@muhammadarif1
Copy link

android 5.1
device oppo neo5

java.lang.RuntimeException: Unable to start activity ComponentInfo{ee.ajapaik.android/ee.ajapaik.android.RephotoDraftsActivity}: com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 561 path $.roll
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2525)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2617)
	at android.app.ActivityThread.access$800(ActivityThread.java:182)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474)
	at android.os.Handler.dispatchMessage(Handler.java:111)
	at android.os.Looper.loop(Looper.java:218)
	at android.app.ActivityThread.main(ActivityThread.java:5657)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
Caused by: com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 561 path $.roll
	at com.google.gson.internal.Streams.parse(Streams.java:58)
	at com.google.gson.JsonParser.parse(JsonParser.java:84)
	at ee.ajapaik.android.util.RephotoDraftService.getUpload(RephotoDraftService.java:65)
	at ee.ajapaik.android.util.RephotoDraftService.getAllDrafts(RephotoDraftService.java:43)
	at ee.ajapaik.android.fragment.RephotoDraftsFragment.refresh(RephotoDraftsFragment.java:52)
	at ee.ajapaik.android.fragment.RephotoDraftsFragment.onActivityCreated(RephotoDraftsFragment.java:38)
	at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2355)
	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1451)
	at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1759)
	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1827)
	at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:797)
	at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2596)
	at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2383)
	at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)
	at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2245)
	at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3248)
	at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3200)
	at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:195)
	at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:597)
	at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177)
	at ee.ajapaik.android.util.WebActivity.onStart(WebActivity.java:331)
	at ee.ajapaik.android.RephotoDraftsActivity.onStart(RephotoDraftsActivity.java:41)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1244)
	at android.app.Activity.performStart(Activity.java:6151)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2482)
	... 10 more
Caused by: java.io.EOFException: End of input at line 1 column 561 path $.roll
	at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1401)
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:482)
	at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414)
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:721)
	at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:697)
	at com.google.gson.internal.Streams.parse(Streams.java:48)
	... 34 more```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant