[GH-ISSUE #128] [Bug] crash on startup #44

Closed
opened 2026-02-27 20:18:52 +03:00 by kerem · 2 comments
Owner

Originally created by @me-it-is on GitHub (Sep 28, 2025).
Original GitHub issue: https://github.com/nin0-dev/VendroidEnhanced/issues/128

Discord account

No response

What happens when the bug or crash occurs?

When I start the app

What is the expected behaviour?

Don't crash

How do you recreate this bug or crash?

Open the app

type: crash
osVersion: google/tegu/tegu:16/BP2A.250805.005/2025092700:user/release-keys
package: com.nin0dev.vendroid:13, targetSdk 34
process: com.nin0dev.vendroid
processUptime: 970 + 287 ms
installer: com.android.packageinstaller

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:520)
	at com.google.gson.Gson.fromJson(Gson.java:1361)
	at com.google.gson.Gson.fromJson(Gson.java:1262)
	at com.google.gson.Gson.fromJson(Gson.java:1171)
	at com.google.gson.Gson.fromJson(Gson.java:1107)
	at com.nin0dev.vendroid.MainActivity.checkUpdates$lambda$4(MainActivity.kt:102)
	at com.nin0dev.vendroid.MainActivity.$r8$lambda$jX9zMdcEAOOB0spC1DnmwexPSK4(Unknown Source:0)
	at com.nin0dev.vendroid.MainActivity$$ExternalSyntheticLambda1.onResponse(D8$$SyntheticClass:0)
	at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
	at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
	at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
	at android.os.Handler.handleCallback(Handler.java:995)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:248)
	at android.os.Looper.loop(Looper.java:338)
	at android.app.ActivityThread.main(ActivityThread.java:9106)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure
	at com.google.gson.stream.JsonReader.unexpectedTokenError(JsonReader.java:1814)
	at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:509)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:509)
	... 20 more

Request agreement

  • I am using Discord Stable or tried on Stable and this bug happens there as well
  • I have read the requirements for opening an issue above
Originally created by @me-it-is on GitHub (Sep 28, 2025). Original GitHub issue: https://github.com/nin0-dev/VendroidEnhanced/issues/128 ### Discord account _No response_ ### What happens when the bug or crash occurs? When I start the app ### What is the expected behaviour? Don't crash ### How do you recreate this bug or crash? Open the app ``` type: crash osVersion: google/tegu/tegu:16/BP2A.250805.005/2025092700:user/release-keys package: com.nin0dev.vendroid:13, targetSdk 34 process: com.nin0dev.vendroid processUptime: 970 + 287 ms installer: com.android.packageinstaller com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:520) at com.google.gson.Gson.fromJson(Gson.java:1361) at com.google.gson.Gson.fromJson(Gson.java:1262) at com.google.gson.Gson.fromJson(Gson.java:1171) at com.google.gson.Gson.fromJson(Gson.java:1107) at com.nin0dev.vendroid.MainActivity.checkUpdates$lambda$4(MainActivity.kt:102) at com.nin0dev.vendroid.MainActivity.$r8$lambda$jX9zMdcEAOOB0spC1DnmwexPSK4(Unknown Source:0) at com.nin0dev.vendroid.MainActivity$$ExternalSyntheticLambda1.onResponse(D8$$SyntheticClass:0) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82) at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102) at android.os.Handler.handleCallback(Handler.java:995) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loopOnce(Looper.java:248) at android.os.Looper.loop(Looper.java:338) at android.app.ActivityThread.main(ActivityThread.java:9106) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) at com.android.internal.os.ExecInit.main(ExecInit.java:50) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:371) Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ See https://github.com/google/gson/blob/main/Troubleshooting.md#unexpected-json-structure at com.google.gson.stream.JsonReader.unexpectedTokenError(JsonReader.java:1814) at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:509) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:509) ... 20 more ``` ### Request agreement - [x] I am using Discord Stable or tried on Stable and this bug happens there as well - [x] I have read the requirements for opening an issue above
kerem 2026-02-27 20:18:52 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nin0-dev commented on GitHub (Sep 28, 2025):

the API is down but it shouldn’t shit itself like that

<!-- gh-comment-id:3344252239 --> @nin0-dev commented on GitHub (Sep 28, 2025): the API is down but it shouldn’t shit itself like that
Author
Owner

@nin0-dev commented on GitHub (Sep 28, 2025):

it’s back

<!-- gh-comment-id:3344253316 --> @nin0-dev commented on GitHub (Sep 28, 2025): it’s back
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/VendroidEnhanced#44
No description provided.