BoomApps-LLC / SteemApp-Android

The Steem application for Android
MIT License
3 stars 3 forks source link

Application stops while uploading photos #21

Closed rezamusic881 closed 6 years ago

rezamusic881 commented 6 years ago

Expected behavior

Supposedly, The app does not crash when uploading photos via the "Take a Photo & Choose from Library" feature

Actual behavior

The app is stuck when uploading photos via the "Fetch Photos & Select from Library" feature. I tried to produce with another device (Android 6.0) but the same thing happened.

Environment

Device : Redmi Note 5A
System Operating : 7.1.0 Nougat
Browser : Google Chrome ( 67.0.3396.68 Version)

How to reproduce

Do login first, access the Create Post feature and Click on Upload feature image on the bottom or on (icon image), then the application will crash.

Record of the issues

https://youtu.be/CfuQzduEzNk

Logcat


07-03 22:10:08.183  5626  6107 E         : com.google.api.client.http.HttpResponseException: 500 Internal Server Error
07-03 22:10:08.183  5626  6107 E         : {"error":{"name":"internal_error"}}
07-03 22:10:08.183  5626  6107 E         :  at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1070)
07-03 22:10:08.183  5626  6107 E         :  at eu.bittrade.libs.steemj.image.upload.SteemJImageUpload.executeMultipartRequest(SteemJImageUpload.java:171)
07-03 22:10:08.183  5626  6107 E         :  at eu.bittrade.libs.steemj.image.upload.SteemJImageUpload.uploadImage(SteemJImageUpload.java:128)
07-03 22:10:08.183  5626  6107 E         :  at com.boomapps.steemapp.repository.SteemWorker.uploadImage(SteemWorker.kt:203)
07-03 22:10:08.183  5626  6107 E         :  at com.boomapps.steemapp.repository.network.NetworkRepositoryDefault$uploadNewPhoto$1.call(NetworkRepositoryDefault.kt:94)
07-03 22:10:08.183  5626  6107 E         :  at com.boomapps.steemapp.repository.network.NetworkRepositoryDefault$uploadNewPhoto$1.call(NetworkRepositoryDefault.kt:29)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:42)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.Observable.subscribe(Observable.java:10955)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:452)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:61)
07-03 22:10:08.183  5626  6107 E         :  at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:52)
07-03 22:10:08.183  5626  6107 E         :  at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-03 22:10:08.183  5626  6107 E         :  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
07-03 22:10:08.183  5626  6107 E         :  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
07-03 22:10:08.183  5626  6107 E         :  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
07-03 22:10:08.183  5626  6107 E         :  at java.lang.Thread.run(Thread.java:760)
tobias-g1 commented 6 years ago

Duplicate of #8, #1

BoomAppsLLC commented 6 years ago

Thank you for bug reporting. Thanks, @tobias-g1 , for comment.