Skip to content

Connect could not resolve the server internal 'CraftPlayer' on this server. #161

Description

@sarudev
$ java -Xmx2G -jar fabric.jar nogui
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[20:37:00] [main/INFO]: Loading Minecraft 26.1.2 with Fabric Loader 0.19.5
[20:37:00] [main/INFO]: Mappings not present!
[20:37:00] [main/INFO]: Loading 53 mods:
        - cardboard 9
           |-- fabric-permissions-api-v0 0.7.0
           |-- io_leangen_geantyref_geantyref 1.3.16
           |-- net_fabricmc_mapping-io 0.8.0
           |-- net_md-5_specialsource 1.11.2
           |-- org_apache_maven_resolver_maven-resolver-supplier 1.9.18
           |-- org_spongepowered_configurate-core 4.2.0
           |-- org_spongepowered_configurate-hocon 4.2.0
           \-- org_spongepowered_configurate-yaml 4.2.0
        - fabric-api 0.155.3+26.1.2
           |-- fabric-api-base 2.0.3+ece063234c
           |-- fabric-api-lookup-api-v1 2.0.12+d5a053b64c
           |-- fabric-biome-api-v1 18.0.5+2fa62b4e4c
           |-- fabric-block-api-v1 3.0.2+ec56b6014c
           |-- fabric-block-getter-api-v2 2.0.6+ec56b6014c
           |-- fabric-command-api-v2 3.0.5+e2bdee784c
           |-- fabric-content-registries-v0 11.3.1+af8a297c4c
           |-- fabric-convention-tags-v2 4.6.2+4f11f7994c
           |-- fabric-crash-report-info-v1 1.0.3+9f78a5a84c
           |-- fabric-creative-tab-api-v1 5.0.12+a981f2874c
           |-- fabric-data-attachment-api-v1 2.2.10+44a0bd1d4c
           |-- fabric-data-generation-api-v1 24.3.4+cda368334c
           |-- fabric-debug-api-v1 1.0.1+c792624d4c
           |-- fabric-dimensions-v1 5.1.7+ad343a8d4c
           |-- fabric-entity-events-v1 5.0.2+e2bdee784c
           |-- fabric-events-interaction-v0 5.2.3+07b380be4c
           |-- fabric-game-rule-api-v1 4.0.5+d871b99e4c
           |-- fabric-item-api-v1 14.3.0+6d1aaa724c
           |-- fabric-lifecycle-events-v1 4.1.1+df84eb3d4c
           |-- fabric-loot-api-v3 3.0.12+00a1fba64c
           |-- fabric-menu-api-v1 2.0.15+d871b99e4c
           |-- fabric-message-api-v1 7.0.5+dae8ce3e4c
           |-- fabric-networking-api-v1 6.3.2+a217cccf4c
           |-- fabric-object-builder-api-v1 23.1.1+abb459f14c
           |-- fabric-particles-v1 5.0.16+b61fef434c
           |-- fabric-permission-api-v1 1.0.3+5730ecca4c
           |-- fabric-recipe-api-v1 9.0.17+be4b75ae4c
           |-- fabric-registry-sync-v0 7.1.1+2fa62b4e4c
           |-- fabric-rendering-fluids-v1 6.0.1+d871b99e4c
           |-- fabric-resource-conditions-api-v1 6.1.0+83dd0ba34c
           |-- fabric-resource-loader-v0 3.3.17+4fc5413f4c
           |-- fabric-resource-loader-v1 2.0.10+7c44c7324c
           |-- fabric-serialization-api-v1 2.0.3+11a26f314c
           |-- fabric-tag-api-v1 2.1.1+371cf5db4c
           |-- fabric-transfer-api-v1 8.0.6+357ea7334c
           \-- fabric-transitive-access-wideners-v1 8.1.3+3ff549fb4c
        - fabricloader 0.19.5
           \-- mixinextras 0.5.5
        - icommon-bundle 108
           \-- icommon 108+26.1
                \-- icommon-api-configuration 1.0
        - java 25
        - minecraft 26.1.2
[20:37:00] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/Saru/Desktop/tes/libraries/net/fabricmc/sponge-mixin/0.17.4+mixin.0.8.7/sponge-mixin-0.17.4+mixin.0.8.7.jar Service=Knot/Fabric Env=SERVER
[20:37:00] [main/INFO]: Loading Libraries...
[20:37:00] [main/INFO]: Loaded 33 libraries. Paper-API: 26.1.2.build.69-stable; Bungeechat: 1.21-R0.2; Adventure: 4.25.0 (9)
[20:37:00] [main/INFO]: Please wait, Scanning Paper-API for events...
[20:37:00] [main/INFO]: Found: 461 (Took: 2ms)
[20:37:00] [main/INFO]: Please wait, scanning plugins for events...
[20:37:04] [main/INFO]: Found: 10 (Took: 4032ms)
[20:37:06] [main/INFO]: Index 1 out of bounds for length 1
[20:37:07] [main/INFO]:  iCommonLib (for 26.1.2) - Common Code for mods. Copyright (c) 2018-2026 Isaiah.
[20:37:07] [main/INFO]: Applying mixin: MixinMinecraftServer...
[20:37:07] [main/INFO]: Applying mixin: MixinMinecraftServer...
[20:37:07] [main/INFO]: Applying mixin: MixinBlockState...
[20:37:07] [main/INFO]: Applying mixin: MixinBlockItem...
[20:37:07] [main/INFO]: Applied 23 mixins.
[20:37:07] [main/INFO]: Applying Mixin: R1_21.MixinNetherPortalBlock_10...
[20:37:07] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.5.5).
[20:37:07] [main/WARN]: Error loading class: net/minecraft/server/Main$Anonymous$2039727189863912b077f0aab954e602 (java.lang.ClassNotFoundException: net/minecraft/server/Main$Anonymous$2039727189863912b077f0aab954e602)
[20:37:08] [main/INFO]: Loading Paper PluginInitializerManager..
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.joml.MemUtil$MemUtilUnsafe (file:/C:/Users/Saru/Desktop/tes/libraries/org/joml/joml/1.10.8/joml-1.10.8.jar)
WARNING: Please consider reporting this to the maintainers of class org.joml.MemUtil$MemUtilUnsafe
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[20:37:12] [main/INFO]: Cardboard - Minecraft 26.1.2 - Paper-API 26.1.2.build.69-stable. Registered '8' iCommon events.
[20:37:12] [main/INFO]: [STDOUT]: [Cardboard Fix] Successfully registered reflection hook: getServer
[20:37:12] [main/INFO]: [STDOUT]: loading PluginInitializerManager
[20:37:12] [main/INFO]: Initializing plugins...
[20:37:12] [main/INFO]: Initialized 1 plugin
[20:37:12] [main/INFO]: Bukkit plugins (1):
 - connect (0.15.11)
[20:37:13] [main/INFO]: iCommon Mod initialized.
[20:37:13] [main/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, profilesHost=https://api.mojang.com, name=PROD]
[20:37:13] [Worker-Main-1/INFO]: Captured instance of DataLoadContext
[20:37:14] [main/INFO]: Loaded 1515 recipes
[20:37:14] [main/INFO]: Loaded 1617 advancements
[20:37:14] [main/INFO]: Applied 0 biome modifications to 0 of 65 new biomes in 921.3 ╬╝s
[20:37:14] [Server thread/INFO]: Setting MinecraftServerBridge's instance of DataLoadContext net.minecraft.server.dedicated.DedicatedServer@4a54a67
[20:37:14] [Server thread/INFO]: Setting IServer instance..
[20:37:14] [Server thread/INFO]: Starting minecraft server version 26.1.2
[20:37:14] [Server thread/INFO]: Loading properties
[20:37:14] [Server thread/INFO]: Default game type: SURVIVAL
[20:37:14] [Server thread/INFO]: DEB: 2123
[20:37:14] [Server thread/INFO]: Injecting into Bukkit registries.
[20:37:14] [Server thread/INFO]: This server is running Cardboard version 9 (Implementing API version 26.1.2)
[20:37:14] [Server thread/INFO]: Loading Bukkit plugins...
[20:37:14] [Server thread/INFO]: [connect] Loading server plugin connect v0.15.11
[20:37:17] [Server thread/WARN]: [connect] es_MX is not a supported language.
[20:37:17] [Server thread/INFO]: [connect] Took 2,599ms to boot Connect
[20:37:17] [Server thread/INFO]:
[20:37:17] [Server thread/INFO]: Generating keypair
[20:37:17] [Server thread/INFO]: Starting Minecraft server on *:25565
[20:37:17] [Server thread/INFO]: Preparing level "world"
[20:37:17] [Server thread/INFO]: Setting IWorld for world "world"
[20:37:17] [Server thread/INFO]: Setting IWorld for world "world_the_end"
[20:37:17] [Server thread/INFO]: Setting IWorld for world "world_nether"
[20:37:17] [Server thread/INFO]: Loading 0 persistent chunks...
[20:37:17] [Server thread/INFO]: Preparing spawn area: 100%
[20:37:17] [Server thread/INFO]: Time elapsed: 85 ms
[20:37:17] [Server thread/INFO]: [connect] Enabling connect v0.15.11
[20:37:17] [Server thread/ERROR]: Failed to inject the packet listener!
[20:37:17] [Server thread/ERROR]: [connect] Connect could not resolve the server internal 'CraftPlayer' on this server. Tried: org.bukkit.craftbukkit.entity.CraftPlayer. Connect binds to server internals reflectively, so this means the server's mappings differ from every name Connect knows ÔÇö a Minecraft version/mapping change, not a Java runtime incompatibility. Environment: server=Cardboard, serverVersion=git-d24d071 (MC: 26.1.2), bukkitVersion=26.1.2, minecraftVersion=26.1.2, craftbukkitPackage=org.bukkit.craftbukkit, java=25.0.4 (Oracle Corporation). Please report this exact line at https://github.com/minekube/connect-java/issues
[20:37:17] [Server thread/INFO]: [connect] Disabling connect v0.15.11
[20:37:18] [Server thread/INFO]: [connect] Stopped watching for sessions
[20:37:18] [Server thread/INFO]: Done (1.229s)! For help, type "help"
[20:37:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[20:37:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[20:37:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[20:37:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[20:37:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[20:37:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[20:37:18] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[20:37:18] [OkHttp Dispatcher/ERROR]: Uncaught exception in thread "OkHttp Dispatcher"
java.lang.IllegalStateException: The plugin classloader for connect has thrown a zip file error.
        at knot//org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:587)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557)
        at knot//org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:180)
        at knot//org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:175)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
        at connect-spigot.jar//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:531)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
        at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.IllegalStateException: zip file closed
        at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:826)
        at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:290)
        at java.base/java.util.jar.JarFile.getEntry(JarFile.java:505)
        at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:460)
        at knot//org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:582)
        ... 8 more
[20:37:18] [OkHttp Dispatcher/ERROR]: Uncaught exception in thread "OkHttp Dispatcher"
java.lang.IllegalStateException: The plugin classloader for connect has thrown a zip file error.
        at knot//org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:587)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557)
        at knot//org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:180)
        at knot//org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:175)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
        at connect-spigot.jar//okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:531)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
        at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.IllegalStateException: zip file closed
        at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:826)
        at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:290)
        at java.base/java.util.jar.JarFile.getEntry(JarFile.java:505)
        at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:460)
        at knot//org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:582)
        ... 8 more

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions