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

com.google.gson.JsonSyntaxException #64

Open
IshankaChanuka opened this issue Nov 1, 2024 · 0 comments
Open

com.google.gson.JsonSyntaxException #64

IshankaChanuka opened this issue Nov 1, 2024 · 0 comments

Comments

@IshankaChanuka
Copy link

This issue was automatically created by the RemoteLight ExceptionHandler.
RemoteLightCore version: v0.2.5.2
Commit ID: 42a79d3
Java version: 21.0.5 (Eclipse Adoptium)
OS: Windows 10
StackTrace:

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $
	at com.google.gson.Gson.fromJson(Gson.java:944)
	at com.google.gson.Gson.fromJson(Gson.java:897)
	at de.lars.remotelightcore.colors.palette.PaletteLoader.load(PaletteLoader.java:73)
	at de.lars.remotelightcore.RemoteLightCore.<init>(RemoteLightCore.java:137)
	at de.lars.remotelightclient.Main.<init>(Main.java:119)
	at de.lars.remotelightclient.Main.main(Main.java:96)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 path $
	at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:351)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80)
	at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
	at com.google.gson.Gson.fromJson(Gson.java:932)
	... 5 more

Nov 1, 2024, 4:40 PM

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