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 #63

Open gamegovian opened 2 months ago

gamegovian commented 2 months ago

This issue was automatically created by the RemoteLight ExceptionHandler. RemoteLightCore version: v0.2.5.2 Commit ID: 42a79d3 Java version: 1.8.0_292 (AdoptOpenJDK) 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

Aug 16, 2024 11:43 PM