Prunoideae / ProbeJS

Supercharging your modpack experience.
GNU General Public License v3.0
46 stars 14 forks source link

[1.19.2] Dump: Uncaught exception happened in wrapper #39

Closed CelestialAbyss closed 10 months ago

CelestialAbyss commented 10 months ago

ProbeJS version: 5.3.1 KubeJS version: 1902.6.2-build.37 Forge version: 43.3.2

[29Oct2023 10:32:32.698] [Thread-66/ERROR] [probejs/]: Uncaught exception has occurred!
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 25 column 2 path $.[json]
    at com.google.gson.Gson.fromJson(Gson.java:978) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.Gson.fromJson(Gson.java:901) ~[gson-2.8.9.jar%23127!/:?]
    at com.probejs.compiler.DocCompiler.writeMergedConfig(DocCompiler.java:277) ~[probejs-5.3.1-forge.jar%23625!/:?]
    at com.probejs.compiler.DocCompiler.compileVSCodeConfig(DocCompiler.java:206) ~[probejs-5.3.1-forge.jar%23625!/:?]
    at com.probejs.compiler.DocCompiler.compile(DocCompiler.java:399) ~[probejs-5.3.1-forge.jar%23625!/:?]
    at com.probejs.ProbeCommands.lambda$triggerDump$4(ProbeCommands.java:123) ~[probejs-5.3.1-forge.jar%23625!/:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 25 column 2 path $.[json]
    at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1562) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:504) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:413) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.internal.bind.TypeAdapters$27.read(TypeAdapters.java:683) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.internal.bind.TypeAdapters$27.read(TypeAdapters.java:655) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.internal.bind.TypeAdapters$33$1.read(TypeAdapters.java:866) ~[gson-2.8.9.jar%23127!/:?]
    at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar%23127!/:?]
    ... 6 more

You can view the full latest.log file here if needed.

Prunoideae commented 10 months ago

Your settings.json in .vscode folder under your .minecraft folder is not a valid JSON file (probably because it's JSONC or whatever), this caused ProbeJS failed to merge configs necessary to setup projects into into it.