KaikyuLotus / moe-moe-secretary

Moe Moe Secretary - Your waifu always with you!
GNU General Public License v3.0
24 stars 4 forks source link

Arknights Adapter Error #20

Closed RoonMoonlight closed 1 year ago

RoonMoonlight commented 2 years ago

Here is another error, I guess this program broke while you were inactive... This time it's Arknights Adapter Error

Loading default config first
Found custom config file, loading it...
Starting Arknights with name Texas
Registered on boot
Getting Arknights character data
Loading chwd data...
Loading character data...
Loading skins...
Skins loaded
Character data loaded
Exception in thread "Thread-1" com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 132200 column 23 path $.
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:226)
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
    at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:187)
    at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145)
    at com.google.gson.Gson.fromJson(Gson.java:927)
    at com.google.gson.Gson.fromJson(Gson.java:892)
    at com.google.gson.Gson.fromJson(Gson.java:841)
    at com.google.gson.Gson.fromJson(Gson.java:813)
    at com.kitsunecode.mms.core.adapters.impl.adapterentities.arknights.charword.CharwordMap.fromJson(CharwordMap.java:13)
    at com.kitsunecode.mms.core.adapters.impl.Arknights.lambda$loadFromCustomSource$0(Arknights.java:52)
    at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 132200 column 23 path $.
    at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385)
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215)
    ... 10 more
Parsing data...
com.kitsunecode.mms.core.entities.exceptions.StartFailedException: Critical error while creating the adapter: NullPointerException: null
    at com.kitsunecode.mms.core.utils.Util.getWaifuFromAdapterName(Util.java:249)
    at com.kitsunecode.mms.core.Main.lambda$initialize$0(Main.java:37)
    at com.kitsunecode.mms.core.utils.Util.catchMoeMoeExceptionsAndExit(Util.java:339)
    at com.kitsunecode.mms.core.Main.initialize(Main.java:35)
    at com.kitsunecode.mms.core.Main.main(Main.java:45)
Caused by: com.kitsunecode.mms.core.entities.exceptions.StartFailedException: NullPointerException: null
    at com.kitsunecode.mms.core.adapters.IWaifuAdapter.init(IWaifuAdapter.java:68)
    at com.kitsunecode.mms.core.utils.Util.getWaifuFromAdapterName(Util.java:234)
    ... 4 more
Caused by: java.lang.NullPointerException
    at com.kitsunecode.mms.core.adapters.impl.Arknights.loadFromCustomSource(Arknights.java:85)
    at com.kitsunecode.mms.core.adapters.IWaifuAdapter.init(IWaifuAdapter.java:50)
    ... 5 more