Codex-in-somnio / LaunchHelper

通过LaunchHelper的Jar可以实现不用添加任何命令行参数载入Java agent并启动另一个可执行Jar,用于在Multicraft面板服使用authlib-injector。
MIT License
27 stars 3 forks source link

1.16.1原版及fabric端均无法启动 #3

Open Hibanaw opened 4 years ago

Hibanaw commented 4 years ago

原版纯净启动/authlib-injector传参启动都不会崩溃 但用launch helper会报错

[10:06:58] [main/INFO]: Loading for game Minecraft 1.16.1
[10:06:58] [main/FATAL]: A critical error occurred
net.fabricmc.loader.discovery.ModResolutionException: Mod resolution failed!
    at net.fabricmc.loader.discovery.ModResolver.resolve(ModResolver.java:600) ~[fabric-server-launch.jar:?]
    at net.fabricmc.loader.FabricLoader.setup(FabricLoader.java:202) ~[fabric-server-launch.jar:?]
    at net.fabricmc.loader.FabricLoader.load(FabricLoader.java:192) [fabric-server-launch.jar:?]
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:127) [fabric-server-launch.jar:?]
    at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:26) [fabric-server-launch.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_261]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_261]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_261]
    at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:61) [fabric-server-launch.jar:?]
    at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:105) [fabric-server-launch.jar:?]
    at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:49) [fabric-server-launch.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_261]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_261]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_261]
    at cx.y3.mc.LaunchHelper.Main.runJar(Main.java:132) [classes!/:?]
    at cx.y3.mc.LaunchHelper.Main.main(Main.java:56) [classes!/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_261]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_261]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_261]
    at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [LaunchHelper-0.1-windows.jar:?]
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [LaunchHelper-0.1-windows.jar:?]
    at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [LaunchHelper-0.1-windows.jar:?]
    at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [LaunchHelper-0.1-windows.jar:?]
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to turn path '897f549e-c9ec-4277-8d69-e46439b00f7c.jar' into URL!
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_261]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_261]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_261]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinTask.getException(ForkJoinTask.java:930) ~[?:1.8.0_261]
    at net.fabricmc.loader.discovery.ModResolver.resolve(ModResolver.java:583) ~[fabric-server-launch.jar:?]
    ... 25 more
Caused by: java.lang.RuntimeException: Failed to turn path '897f549e-c9ec-4277-8d69-e46439b00f7c.jar' into URL!
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.lambda$compute$3(ModResolver.java:540) ~[fabric-server-launch.jar:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_261]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_261]
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_261]
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_261]
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.compute(ModResolver.java:542) ~[fabric-server-launch.jar:?]
    at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[?:1.8.0_261]
Caused by: net.fabricmc.loader.util.UrlConversionException: java.net.MalformedURLException: unknown protocol: jimfs
    at net.fabricmc.loader.util.UrlUtil.asUrl(UrlUtil.java:85) ~[fabric-server-launch.jar:?]
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.lambda$compute$3(ModResolver.java:538) ~[fabric-server-launch.jar:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_261]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_261]
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_261]
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_261]
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.compute(ModResolver.java:542) ~[fabric-server-launch.jar:?]
    at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[?:1.8.0_261]
Caused by: java.net.MalformedURLException: unknown protocol: jimfs
    at java.net.URL.<init>(URL.java:617) ~[?:1.8.0_261]
    at java.net.URL.<init>(URL.java:507) ~[?:1.8.0_261]
    at net.fabricmc.loader.util.UrlUtil.asUrl(UrlUtil.java:83) ~[fabric-server-launch.jar:?]
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.lambda$compute$3(ModResolver.java:538) ~[fabric-server-launch.jar:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_261]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_261]
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_261]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_261]
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_261]
    at net.fabricmc.loader.discovery.ModResolver$UrlProcessAction.compute(ModResolver.java:542) ~[fabric-server-launch.jar:?]
    at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_261]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[?:1.8.0_261]