Skip to content

com.google.gson.JsonSyntaxException #64

@IshankaChanuka

Description

@IshankaChanuka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions