Open VNRARA opened 1 year ago
Sorry, I can't reproduce it with this info, the log also doesn't contain relevant info (these lines appear randomly sometimes because of something in our app)... Can you reproduce it with the grocy demo instance?
Same here after updating to Server Version 4.0.3 App Version is 3.3.2 Everything was working with 4.0.2
Happens with every item trying to purchase. Error occurs instantly after selecting an item/product
10-02 20:26:28.745 21966 21966 E ViewUtil: icon animation requires AnimVectorDrawable 10-02 20:26:29.880 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:29.880 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:29.888 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:29.888 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:29.895 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:29.895 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:33.452 21966 22823 E Volley : [15070] BasicNetwork.performRequest: Unexpected response code 400 for https://grocy.pkhub.de/api/stock/products/114 10-02 20:26:33.495 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 10-02 20:26:33.495 21966 21966 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
@ezacpk #776, #774, are you sure you use the latest version? In 3.3.2 the error should be gone...
I'm also seeing this with app version 3.3.2 and Grocy version 4.0.3. I've just scanned my shopping in and had about 4 crashes out of 40 items added.
@packman2008 Can you reproduce it with a specific product and could you give me the product options and purchase field inputs then?
Confirmed that its the newest server and app version. Weirdly the bug just went away after a day. If I try to reproduce it with the product it hastn worked, it just works now. After it failed in the app i used the web version maybe has something to do with that.
If it happens again I will post the infos you asked for.
I'll try. It seemed to be more about the number of products scanned though. I scanned the first 25-30 products without a crash and all the crashes happened last 10-15 scans.
Edit: It doesn't seem to be related to a specific product. The product scans ok when I restart the app
I'm still getting crashes on scanning purchases. I'm pretty sure it's not specific barcodes that cause it. It happens mostly after I've scanned a lot of items. From this morning's shopping I successfully scanned about 40 items before it then crashed on three consecutive (different) items.
--------- beginning of main 05-09 21:31:14.989 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:14.989 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:15.036 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:15.036 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:15.042 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:15.042 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:17.774 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 05-09 21:31:17.774 18420 18420 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
Info: S21 newest update installed
Buy new item after creating it via the buy menu. But when the dialog popup shows that its being actually bought. Cancel and edit the info to save. Then actually buy it and you'll get a crash.
Im not 100% sure it's like this.