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

Updater throwing an exception #3

Open
sarg opened this issue Jul 3, 2021 · 0 comments
Open

Updater throwing an exception #3

sarg opened this issue Jul 3, 2021 · 0 comments

Comments

@sarg
Copy link

sarg commented Jul 3, 2021

Hey, just noticed that the updater is broken. It expects size field to be of type long, but gets some string instead.

07-03 13:15:25.604  5540  5540 D UpdatesActivity: Checking https://raw.githubusercontent.com/TTTT55/Lineage-OTA/lineage-18.1/pine.json
07-03 13:15:25.919  5540  5540 D UpdatesActivity: List downloaded
07-03 13:15:25.919  5540  5540 D UpdatesActivity: Adding remote updates
07-03 13:15:25.921  5540  5540 E Utils   : Could not parse update object, index=0
07-03 13:15:25.921  5540  5540 E Utils   : org.json.JSONException: Value 4cca4e5c1de5b457844fdac2cf2d57ca at size of type java.lang.String cannot be converted to long
07-03 13:15:25.921  5540  5540 E Utils   :      at org.json.JSON.typeMismatch(JSON.java:101)
07-03 13:15:25.921  5540  5540 E Utils   :      at org.json.JSONObject.getLong(JSONObject.java:528)
07-03 13:15:25.921  5540  5540 E Utils   :      at org.lineageos.updater.misc.Utils.parseJsonUpdate(Utils.java:91)
07-03 13:15:25.921  5540  5540 E Utils   :      at org.lineageos.updater.misc.Utils.parseJson(Utils.java:139)
07-03 13:15:25.921  5540  5540 E Utils   :      at org.lineageos.updater.UpdatesActivity.loadUpdatesList(UpdatesActivity.java:249)
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