SpongeVanilla: Hard crash by SpongeVanilla 1.11; something to do with enhancements

Pastebin of crash report: http://pastebin.com/qKPCXwRN

Summary:

Description: Ticking entity
 
java.lang.AbstractMethodError: net.minecraft.enchantment.EnumEnchantmentType.func_77557_a(Lnet/minecraft/item/Item;)Z
        at net.minecraft.enchantment.EnchantmentHelper.func_185291_a(SourceFile:404)

Server info:

Details:
        Minecraft Version: 1.11
        Operating System: Linux (amd64) version 3.16.0-4-amd64
        Java Version: 1.8.0_111, Oracle Corporation
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 276523536 bytes (263 MB) / 734003200 bytes (700 MB) up to 954728448 bytes (910 MB)
        JVM Flags: 1 total; -Xmx1024M
        IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
        Plugins: ~~ERROR~~ NoSuchMethodError: net.minecraft.server.MinecraftServer.getMinecraftVersion()Ljava/lang/String;
        Profiler Position: N/A (disabled)
        Player Count: 2 / 20; [EntityPlayerMP['tyketotz'/215, l='world', x=833.08, y=84.00, z=755.52], EntityPlayerMP['Alukor'/1332, l='world', x=18.98, y=67$
        Is Modded: Definitely; Server brand changed to 'sponge'
        Type: Dedicated Server (map_server.txt)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (11 by maintainers)

Most upvoted comments

That’s strange. ViaVersion is not being used at all. See:

> /sponge version
[20:13:40 INFO] [essentialcmds]: [Server] executed command sponge version
[20:13:40 INFO]: SpongeVanilla
    Minecraft: 1.11
    SpongeAPI: 6.0.0-SNAPSHOT-97bc3e8
    SpongeVanilla: 1.11-6.0.0-BETA-0
> /sponge plugins
[20:13:44 INFO] [essentialcmds]: [Server] executed command sponge plugins
[20:13:44 INFO]: Plugins (5): Minecraft, SpongeVanilla, SpongeAPI, EssentialCmds, Mod Coder Pack

@doncullen It’s not a problem with existing villagers, but new villagers. Here’s a breakdown of the error trace:

  • A player spawns. They need to know what the world around them is like.
  • Minecraft loads several chunks near the player (chunks are 16x16 vertical sections of the world, used so that Minecraft doesn’t have to create the whole world at one time).
  • The chunk doesn’t yet exist, so Minecraft creates it.
  • The new chunk just so happens to contain a village which needs to be created.
  • Of course, the village needs villagers, so the game creates some villagers.
  • The villager tries to create some initial trades.
  • Now Sponge takes control and adds some trade offers to the villager.
  • Something (unknown to me) happens when setting up a trade including either enchanted items or enchanted books.
  • The server crashes, disconnecting the player.
  • The player gets upset.