Drumber / RemoteLight

A Java based LED Control Software for WS2811 and WS2812 LED strips
GNU General Public License v3.0
84 stars 8 forks source link

com.google.gson.JsonSyntaxException #64

Open IshankaChanuka opened 6 days ago

IshankaChanuka commented 6 days ago

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