java.lang.NoSuchFieldError: MUSHROOM_SHORE #184


  • New
  • Defect
Open
  • _ForgeUser18148932 created this issue Mar 5, 2016

    What steps will reproduce the problem?
    1. Enter an area nobody has been to before, so it will generate the chunk.
    2.
    3.

    What is the expected output? What do you see instead?
    Expect it to just work, but server crashes.

    What version of the product are you using?
    5.2.7

    What version of the craftbukkit/bukkit are you using?
    Spigot 1.9 build 634

    Do you have an error log of what happened?
    java.lang.NoSuchFieldError: MUSHROOM_SHORE
        at multiworld.worldgen.populators.MyceliumPopulator.chanceBlock(MyceliumPopulator.java:22)
        at multiworld.worldgen.populators.SurfacePopulator.populate(SurfacePopulator.java:28)
        at net.minecraft.server.v1_9_R1.Chunk.a(Chunk.java:944)
        at net.minecraft.server.v1_9_R1.Chunk.loadNearby(Chunk.java:905)
        at org.bukkit.craftbukkit.v1_9_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:73)
        at org.bukkit.craftbukkit.v1_9_R1.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:1)
        at org.bukkit.craftbukkit.v1_9_R1.util.AsynchronousExecutor$Task.finish(AsynchronousExecutor.java:188)
        at org.bukkit.craftbukkit.v1_9_R1.util.AsynchronousExecutor.finishActive(AsynchronousExecutor.java:347)
        at org.bukkit.craftbukkit.v1_9_R1.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:34)
        at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:740)
        at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400)
        at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660)
        at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559)
        at java.lang.Thread.run(Thread.java:745)

    Please provide the result of /mw debug below:
    [17:18:31 INFO]: [MultiWorld] Now printing debug information
    [17:18:31 INFO]: [MultiWorld] MultiWorld version: 5.2.7
    [17:18:31 INFO]: [MultiWorld] Bukkit version: git-Spigot-87e2f47-ef13ca4 (MC: 1.9)
    [17:18:31 INFO]: [MultiWorld]
    [17:18:31 INFO]: [MultiWorld] --<[Modules]>--
    [17:18:31 INFO]: [MultiWorld] [State, pluginName]
    [17:18:31 INFO]: [MultiWorld] [Working, EndPortalHandler]
    [17:18:31 INFO]: [MultiWorld] [Unloaded, EnderChestBlokker]
    [17:18:31 INFO]: [MultiWorld] [Working, WorldChatSeperatorPlugin]
    [17:18:31 INFO]: [MultiWorld] [Unloaded, GameModeChancer]
    [17:18:31 INFO]: [MultiWorld] [Working, WorldSpawnHandler]
    [17:18:31 INFO]: [MultiWorld] [Working, NetherPortalHandler]
    [17:18:31 INFO]: [MultiWorld]
    [17:18:31 INFO]: [MultiWorld] --<[CommandStacks]>--
    [17:18:31 INFO]: [MultiWorld] multiworld.command.DefaultCommandStack
    [17:18:31 INFO]: [MultiWorld]  - /mw []
    [17:18:31 INFO]: [MultiWorld] multiworld.command.DefaultCommandStack
    [17:18:31 INFO]: [MultiWorld]  - /mw [debug]

  • _ForgeUser18148932 added the tags New Defect Mar 5, 2016
  • _ForgeUser11880126 posted a comment Mar 6, 2016

    I fixed this myself. You should be able to do the same. Fortunately the newest multiworld has the source included. I pulled it into Eclipse and edited line 22 of the MyceliumPopulator.java file to remove the reference to MUSHROOM_SHORE, which is apparently an element that does not exist. Line 22 now reads...

    if (block.getBiome() == Biome.MUSHROOM_ISLAND)

    (The "or" condition and the second constant MUSHROOM_SHORE I removed.)

    I recompiled and re-exported the multiworld jar and everything appears to work fine now.

    I will send the fix to the author. Should take him a very short time to post the fix.

  • rustyshakelford2 posted a comment Apr 2, 2016

    I am still getting this error.

  • _ForgeUser6941066 posted a comment May 21, 2016

    @jamescowens: Go

    jamescowens can you share your updated jar? I'm currently having the same issues. Thanks

  • Forge_User_10514669 posted a comment May 22, 2016

    @pandapipino: Go

    This bug should be fixed with version 5.2.8, uploaded a fe weeks ago


To post a comment, please login or register a new account.