Skip to content

Instantly share code, notes, and snippets.

@UndeadKitten
Last active July 26, 2021 05:40
Show Gist options
  • Save UndeadKitten/d0b273d77e81fc59fb063145a9ec7b4b to your computer and use it in GitHub Desktop.
Save UndeadKitten/d0b273d77e81fc59fb063145a9ec7b4b to your computer and use it in GitHub Desktop.
An error that prevents me from starting up a FabricMC server with MCMT
[15:02:28] [main/INFO]: Loading for game Minecraft 1.17.1
[15:02:28] [main/WARN]: Warnings were found!
- Conflicting versions found for fabric-api-base: used 0.3.0+a02b4463d5, also found 0.3.0+a02b446318
- Conflicting versions found for fabric-lifecycle-events-v1: used 1.4.4+a02b4463d5, also found 1.4.4+a02b446318
[15:02:28] [main/INFO]: [FabricLoader] Loading 53 mods:
- cloth-basic-math@0.5.1
- cloth-config2@5.0.34
- fabric@0.37.1+1.17
- fabric-api-base@0.3.0+a02b4463d5
- fabric-api-lookup-api-v1@1.2.0+2b5c62d018
- fabric-biome-api-v1@3.1.11+c345aea818
- fabric-blockrenderlayer-v1@1.1.5+a02b446318
- fabric-command-api-v1@1.1.3+5ab9934c18
- fabric-commands-v0@0.2.2+92519afa18
- fabric-containers-v0@0.1.12+a02b446318
- fabric-content-registries-v0@0.2.2+a02b446318
- fabric-crash-report-info-v1@0.1.5+be9da31018
- fabric-dimensions-v1@2.0.11+6cefd57718
- fabric-entity-events-v1@1.1.0+a02b446318
- fabric-events-interaction-v0@0.4.9+a722d8c018
- fabric-events-lifecycle-v0@0.2.1+92519afa18
- fabric-game-rule-api-v1@1.0.7+6cefd57718
- fabric-item-api-v1@1.2.4+a02b446318
- fabric-item-groups-v0@0.2.10+b7ab612118
- fabric-key-binding-api-v1@1.0.4+a02b446318
- fabric-keybindings-v0@0.2.2+36b77c3e18
- fabric-lifecycle-events-v1@1.4.4+a02b4463d5
- fabric-loot-tables-v1@1.0.4+a02b446318
- fabric-mining-levels-v0@0.1.3+92519afa18
- fabric-models-v0@0.3.0+a02b446318
- fabric-networking-api-v1@1.0.12+6cefd57718
- fabric-networking-blockentity-v0@0.2.11+a02b446318
- fabric-networking-v0@0.3.2+92519afa18
- fabric-object-builder-api-v1@1.10.9+b7ab612118
- fabric-object-builders-v0@0.7.3+a02b446318
- fabric-particles-v1@0.2.4+a02b446318
- fabric-registry-sync-v0@0.7.10+e2961fee18
- fabric-renderer-api-v1@0.4.4+5f02c96918
- fabric-renderer-indigo@0.4.8+a02b446318
- fabric-renderer-registries-v1@3.2.0+a02b446318
- fabric-rendering-data-attachment-v1@0.1.5+a02b446318
- fabric-rendering-fluids-v1@0.1.13+a02b446318
- fabric-rendering-v0@1.1.2+92519afa18
- fabric-rendering-v1@1.6.0+a02b446318
- fabric-resource-loader-v0@0.4.8+a00e834b18
- fabric-screen-api-v1@1.0.4+155f865c18
- fabric-screen-handler-api-v1@1.1.8+a02b446318
- fabric-structure-api-v1@1.1.13+5ab9934c18
- fabric-tag-extensions-v0@1.1.4+a02b446318
- fabric-textures-v0@1.0.6+a02b446318
- fabric-tool-attribute-api-v1@1.2.12+b7ab612118
- fabric-transfer-api-v1@1.0.0+3fe3c3f518
- fabricloader@0.11.6
- grossfabrichacks@6.1
- java@16
- mcmtfabric@1.0.4
- minecraft@1.17.1
- worldedit@7.2.6-beta-01+1415e6f
[15:02:28] [main/ERROR]: no good? no, this man is definitely up to evil.
[15:02:28] [main/INFO]: this is more concerning than Fabric Zero
[15:02:28] [main/INFO]: gross_agent.jar located!
[15:02:28] [main/INFO]: VM name: 14328@DESKTOP-FS0CE6V
[15:02:28] [main/INFO]: VM PID: 14328
[15:02:28] [main/INFO]: Attaching to VM
[15:02:28] [main/ERROR]: error in attaching agent to JVM
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116)
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70)
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68)
... 2 more
Caused by: java.lang.ExceptionInInitializerError
at net.devtech.grossfabrichacks.reflection.AccessAllower.makeAccessibleObjectAccessible(AccessAllower.java:26)
at net.devtech.grossfabrichacks.reflection.AccessAllower.init(AccessAllower.java:19)
at net.devtech.grossfabrichacks.GrossFabricHacks.<clinit>(GrossFabricHacks.java:27)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at net.fabricmc.loader.FabricLoader.setupLanguageAdapters(FabricLoader.java:392)
at net.fabricmc.loader.FabricLoader.finishModLoading(FabricLoader.java:249)
at net.fabricmc.loader.FabricLoader.freeze(FabricLoader.java:105)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:133)
at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28)
... 7 more
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@1a45193b
at net.devtech.grossfabrichacks.instrumentation.InstrumentationApi.<clinit>(InstrumentationApi.java:188)
... 17 more
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@1a45193b
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:613)
at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:273)
at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:238)
at net.bytebuddy.agent.ByteBuddyAgent.attach(ByteBuddyAgent.java:220)
at net.devtech.grossfabrichacks.instrumentation.InstrumentationApi.<clinit>(InstrumentationApi.java:185)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at net.bytebuddy.agent.Attacher.install(Attacher.java:106)
at net.bytebuddy.agent.ByteBuddyAgent.install(ByteBuddyAgent.java:608)
... 21 more
Caused by: java.lang.Error:
There is an incompatible JNA native library installed on this system
Expected: 6.1.1
Found: 6.0.0
(at C:\Users\~\AppData\Local\Temp\jna-101394387\jna2648258388864375158.dll).
To resolve this issue you may do one of the following:
- remove or uninstall the offending library
- set the system property jna.nosys=true
- set jna.boot.library.path to include the path to the version of the
jnidispatch library included with the JNA jar file you are using
at com.sun.jna.Native.<clinit>(Native.java:204)
at net.bytebuddy.agent.VirtualMachine$ForHotSpot$Connection$ForJnaWindowsNamedPipe$Factory.<init>(VirtualMachine.java:1263)
at net.bytebuddy.agent.VirtualMachine$ForHotSpot.attach(VirtualMachine.java:239)
... 27 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment