ProbeJS

ProbeJS

3M Downloads

Uncaught exception happened in wrapper

HerobrInE-in-git opened this issue · 1 comments

commented

Game version: 1.20.1
ProbeJS version: 6.0.1
KubeJS version: 2001.6.5-build. 16
游戏抛出了’Uncaught exception happened in wrapper, please report to the Github issue with complete latest.log.‘,实际上也不能使用vc中的补全功能,以下是latest.log片段
[311月2025 09:18:47.799] [Thread-58/INFO] [probejs/]: Checking docs timestamps... [311月2025 09:18:47.812] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Started downloading and merging docs... [20.073s] [311月2025 09:18:48.304] [Thread-58/INFO] [probejs/]: Timestamps are matched (local = remote = 1720270423220), no need to update docs. [311月2025 09:18:48.309] [Thread-58/INFO] [probejs/]: Loaded fetched doc: dynamicjs.json [311月2025 09:18:48.310] [Thread-58/INFO] [probejs/]: Loaded fetched doc: events.json [311月2025 09:18:48.312] [Thread-58/INFO] [probejs/]: Loaded fetched doc: kubejs.json [311月2025 09:18:48.313] [Thread-58/INFO] [probejs/]: Loaded fetched doc: kubejs_recipes.json [311月2025 09:18:48.315] [Thread-58/INFO] [probejs/]: Loaded fetched doc: morejs.json [311月2025 09:18:48.316] [Thread-58/INFO] [probejs/]: Loaded fetched doc: probe.json [311月2025 09:18:48.318] [Thread-58/INFO] [probejs/]: Loaded fetched doc: registry.json [311月2025 09:18:48.319] [Thread-58/INFO] [probejs/]: Loaded fetched doc: types.json [311月2025 09:18:48.338] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Docs merged. Started compiling... [20.604s] [311月2025 09:18:48.448] [Thread-60/INFO] [EMI/]: [EMI] Baked recipes after reload in 1866ms [311月2025 09:18:57.717] [Thread-58/ERROR] [probejs/]: Uncaught exception has occurred! java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0 at jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) ~[?:?] at jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) ~[?:?] at jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) ~[?:?] at jdk.internal.util.Preconditions$4.apply(Preconditions.java:210) ~[?:?] at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:98) ~[?:?] at jdk.internal.util.Preconditions.outOfBoundsCheckFromToIndex(Preconditions.java:112) ~[?:?] at jdk.internal.util.Preconditions.checkFromToIndex(Preconditions.java:349) ~[?:?] at java.lang.String.checkBoundsBeginEnd(String.java:4589) ~[?:?] at java.lang.String.substring(String.java:2703) ~[?:?] at com.probejs.util.Util.getCapitalized(Util.java:25) ~[probejs-6.0.1-forge.jar%23571!/:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?] at com.probejs.util.Util.snakeToTitle(Util.java:29) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.specials.special.recipe.component.FormatterRecipeSchema.<init>(FormatterRecipeSchema.java:23) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.specials.special.recipe.component.FormatterRecipeSchema.formatRecipeClasses(FormatterRecipeSchema.java:49) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.specials.SpecialCompiler.compileSpecial(SpecialCompiler.java:48) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.docs.DocCompiler.compileGlobal(DocCompiler.java:105) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.docs.DocCompiler.compile(DocCompiler.java:389) ~[probejs-6.0.1-forge.jar%23571!/:?] at com.probejs.ProbeCommands.lambda$triggerDump$4(ProbeCommands.java:122) ~[probejs-6.0.1-forge.jar%23571!/:?] at java.lang.Thread.run(Thread.java:833) ~[?:?] [311月2025 09:18:57.737] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] Uncaught exception happened in wrapper, please report to the Github issue with complete latest.log. [311月2025 09:18:57.737] [Render thread/INFO] [net.minecraft.client.gui.components.ChatComponent/]: [System] [CHAT] ProbeJS typing generation finished. [29.992s]

commented

There is a very, very severe problem in one of the installed mods that breaks the naming scheme of a recipe schema (resource location). Which is not something I want to fix.