fossasia / loklak_wok_android

"loklak wok" is a harvesting peer for the loklak_server https://github.com/fossasia/loklak_wok_android/raw/apk/loklak_wok_1.2_20160201.apk
GNU Lesser General Public License v2.1
1.55k stars 89 forks source link

Application crashes with invalid input error #97

Open dr0pdb opened 6 years ago

dr0pdb commented 6 years ago

Device:

Android 5.1.1 Oppo f1

Issue:

The application crashes with invalid input error while open homescreen.

Stacktrace:

12-17 15:08:08.365 23310-23393/org.loklak.wok A/art: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xf0
12-17 15:08:08.365 23310-23393/org.loklak.wok A/art: art/runtime/check_jni.cc:65]     string: '{"query":"मेरे","statuses":[{"user":{"appearance_first":"2017-12-17T09:38:07.765Z","appearance_latest":"2017-12-17T09:38:07.765Z","user_id":"782568116517675008","profile_image_url_https":"https://pbs.twimg.com/profile_images/899684295089963009/QU6lJk5I_bigger.jpg","name":"이즈","screen_name":"2P_IZU"},"link":"https://twitter.com/2P_IZU/status/942327319401603072","timestamp":1513503315000,"created_at":1513503315000,"screen_name":"2P_IZU","text":"@AA1212_4641D9 @adoX0103 @auj0529\n\n@byreamchu @Bloom_bot00 @bheeso\n\n@commi_an @connyanyakon @cumu1onimbus @chi_chi_030 @colias_ @cocococonaS2 @coxpoxfox\n\n @devy_commu @dedenne_dayo\n\n@eidl_go3 \n\n@frich_con @FiveBigYang\n\n@ggulisdelicious @Gang_G0G @mungman_\n\n@hanueilw @Hachi_ATM","id_str":"942327319401603072","retweet_count":0,"favourites_count":0,"images":["https://pbs.twimg.com/profile_images/899684295089963009/QU6lJk5I_normal.jpg"]},{"user":{"appearance_first":"2017-12-17T09:38:07.814Z","appearance_lat
12-17 15:08:08.365 23310-23393/org.loklak.wok A/art: art/runtime/check_jni.cc:65]     in call to NewStringUTF
12-17 15:08:08.365 23310-23393/org.loklak.wok A/art: art/runtime/check_jni.cc:65]     from org.liquidplayer.javascript.JSValue$JNIReturnObject org.liquidplayer.javascript.JSValue.toStringCopy(long, long)

Extra information

I was working on a poor internet connection due to weak network, so this could be the reason. The stacktrace was huge and hence i added only a small part here, if you want i can add the whole stacktrace.