Fabric Tree Chopper

Fabric Tree Chopper

1M Downloads

Crash if folder Config doesnt exist

Xellzul opened this issue ยท 0 comments

commented

Server/Client crashes if no folder named Config exists, if I make the folder manually 'fabric-tree-chopper.json' is created as expected

Mods:
- cloth-basic-math 0.6.0 via cloth-config
- cloth-config 6.0.43 via fabric-tree-chopper
- fabric 0.44.0+1.18
- fabric-api-base 0.4.1+b4f4f6cdc8 via fabric
- fabric-api-lookup-api-v1 1.4.0+16d92c47c8 via fabric
- fabric-biome-api-v1 6.0.1+ded849a9c8 via fabric
- fabric-command-api-v1 1.1.6+3ac43d95c8 via fabric
- fabric-commands-v0 0.2.5+b4f4f6cdc8 via fabric
- fabric-containers-v0 0.1.18+d154e2c6c8 via fabric
- fabric-content-registries-v0 0.4.5+6f53a73dc8 via fabric
- fabric-crash-report-info-v1 0.1.8+3ac43d95c8 via fabric
- fabric-dimensions-v1 2.1.7+43d29571c8 via fabric
- fabric-entity-events-v1 1.4.5+6b21378ac8 via fabric
- fabric-events-interaction-v0 0.4.16+bfa23f17c8 via fabric
- fabric-events-lifecycle-v0 0.2.6+b4f4f6cdc8 via fabric
- fabric-game-rule-api-v1 1.0.10+3ac43d95c8 via fabric
- fabric-item-api-v1 1.3.0+691a79b5c8 via fabric
- fabric-item-groups-v0 0.3.3+3ac43d95c8 via fabric
- fabric-language-kotlin 1.7.0+kotlin.1.6.0 via fabric-tree-chopper
- fabric-lifecycle-events-v1 1.4.10+c15ca335c8 via fabric
- fabric-loot-tables-v1 1.0.8+3ac43d95c8 via fabric
- fabric-mining-level-api-v1 1.0.3+3ac43d95c8 via fabric
- fabric-mining-levels-v0 0.1.7+b4f4f6cdc8 via fabric
- fabric-networking-api-v1 1.0.18+3ac43d95c8 via fabric
- fabric-networking-v0 0.3.5+b4f4f6cdc8 via fabric
- fabric-object-builder-api-v1 1.11.0+3b82842ec8 via fabric
- fabric-object-builders-v0 0.7.8+3ac43d95c8 via fabric
- fabric-particles-v1 0.2.9+526dc1acc8 via fabric
- fabric-registry-sync-v0 0.8.5+3ac43d95c8 via fabric
- fabric-rendering-data-attachment-v1 0.3.4+7242e9d7c8 via fabric
- fabric-rendering-fluids-v1 0.1.18+3ac43d95c8 via fabric
- fabric-resource-loader-v0 0.4.11+3ac43d95c8 via fabric
- fabric-screen-handler-api-v1 1.1.11+3ac43d95c8 via fabric
- fabric-structure-api-v1 2.0.8+295197a7c8 via fabric
- fabric-tag-extensions-v0 1.2.5+3ac43d95c8 via fabric
- fabric-tool-attribute-api-v1 1.3.4+7de09f55c8 via fabric
- fabric-transfer-api-v1 1.5.5+b4f4f6cdc8 via fabric
- fabric-tree-chopper 0.8.0
- fabricloader 0.12.8
- fiber 0.23.0-2 via fabric-tree-chopper
- java 17
- minecraft 1.18
- org_jetbrains_kotlin_kotlin-reflect 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.5.2 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.5.2 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.3.1 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.3.1 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.3.1 via fabric-language-kotlin

Error:

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'fabric-tree-chopper'!
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.12.8.jar:?]
	at net.minecraft.server.Main.main(Main.java:102) [intermediary-server-1.18.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:599) [fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.12.8.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.12.8.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.12.8.jar:?]
Caused by: java.nio.file.NoSuchFileException: config/fabric-tree-chopper.json
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) ~[?:?]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219) ~[?:?]
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:482) ~[?:?]
	at java.nio.file.Files.newOutputStream(Files.java:228) ~[?:?]
	at com.skaggsm.treechoppermod.FabricTreeChopper.serialize(FabricTreeChopper.kt:67) ~[fabric-tree-chopper-0.8.0.jar:?]
	at com.skaggsm.treechoppermod.FabricTreeChopper.onInitialize(FabricTreeChopper.kt:52) ~[fabric-tree-chopper-0.8.0.jar:?]
	at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.12.8.jar:?]
	... 15 more```