-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashed when enabling the trade added #2
Comments
Thank you for bringing this issue to my notice. I'll try to resolve this issue in the next update of the mod. |
After examining the issue, I think that the fault may lie with Sandwichables. I'll try to do more testing to see if it's a fault on my end, but if it's a problem with Sandwichables I'll try to get into contact with the mod author. |
Hey, just popping in to pass along what I've learned. I had a massive headache of a time troubleshooting, so I hope it will help you somehow. Very similar issue (with my crash blaming Charm) though all I did in your config was set custom trades to TRUE, I didn't actually change the config any more than that. I've recently started using MultiMC 5 Version 0.6.12-1530, running Minecraft 1.16.5 and Fabric 0.11.3... latest.log Hopefully my pain and suffering will help you all in some way. |
@HyperPigeon any word on this?????? |
Hi there, I met crashes when enabled the trades I've added. Here's my config:
{ "trades": { "enable_user_added_traded": true }, "invisibleTradeFactory": { "number_of_trades": 1, "trades_to_choose": 2, "array": [ { "identifier": "minecraft:enchanted_golden_apple", "price": 36, "count": 1, "maxUses": 1, "experience": 1 }, { "identifier": "origins:orb_of_origin", "price": 64, "count": 1, "maxUses": 8, "experience": 1 } ] }, "example": { "identifier": "minecraft:end_crystal", "price": 0, "count": 0, "maxUses": 0, "experience": 0 } }
However, the server crashed and showed these log:
[main/FATAL]: Failed to start the minecraft server java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'sandwichable'! at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) ~[fabric-server-launch.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) ~[fabric-server-launch.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:32) ~[fabric-server-launch.jar:?] at net.minecraft.server.Main.main(Main.java:125) [intermediary-server.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140) [fabric-server-launch.jar:?] at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:26) [fabric-server-launch.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] 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:?] Caused by: java.lang.ExceptionInInitializerError at io.github.foundationgames.sandwichable.villager.SandwichMakerProfession.init(SandwichMakerProfession.java:57) ~[sandwichable-1.1.1-snapshot__1.16-pre2.jar:?] at io.github.foundationgames.sandwichable.Sandwichable.onInitialize(Sandwichable.java:56) ~[sandwichable-1.1.1-snapshot__1.16-pre2.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?] ... 17 more Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at net.minecraft.class_3853.<clinit>(class_3853.java:526) ~[intermediary-server.jar:?] at io.github.foundationgames.sandwichable.villager.SandwichMakerProfession.init(SandwichMakerProfession.java:57) ~[sandwichable-1.1.1-snapshot__1.16-pre2.jar:?] at io.github.foundationgames.sandwichable.Sandwichable.onInitialize(Sandwichable.java:56) ~[sandwichable-1.1.1-snapshot__1.16-pre2.jar:?] at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?] ... 17 more
I guess it's caused by the sandwich traders in Sandwichable, don't know if you can fix it?
*If I disabled the "enable_user_added_traded" to "false", this problem disappeared.
The text was updated successfully, but these errors were encountered: