java.lang.ClassCastException: com.plotsquared.sponge.generator.SpongePlotGenerator cannot be cast to org.spongepowered.api.world.WorldArchetype

GitHub | lasercar | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 1

    Plot Setup fails on Sponge 1.10

    GitHub | 6 months ago | lasercar
    java.lang.ClassCastException: com.plotsquared.sponge.generator.SpongePlotGenerator cannot be cast to org.spongepowered.api.world.WorldArchetype

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.plotsquared.sponge.generator.SpongePlotGenerator cannot be cast to org.spongepowered.api.world.WorldArchetype

      at com.plotsquared.sponge.util.SpongeSetupUtils.setupWorld()
    2. com.plotsquared.sponge
      SpongeSetupUtils.setupWorld
      1. com.plotsquared.sponge.util.SpongeSetupUtils.setupWorld(SpongeSetupUtils.java:143)[SpongeSetupUtils.class:?]
      1 frame
    3. com.intellectualcrafters.plot
      SubCommand.execute
      1. com.intellectualcrafters.plot.commands.Setup.onCommand(Setup.java:273)[Setup.class:?]
      2. com.intellectualcrafters.plot.commands.SubCommand.execute(SubCommand.java:27)[SubCommand.class:?]
      2 frames
    4. com.plotsquared.general
      Command.execute
      1. com.plotsquared.general.commands.Command.execute(Command.java:336)[Command.class:?]
      1 frame
    5. com.intellectualcrafters.plot
      MainCommand.onCommand
      1. com.intellectualcrafters.plot.commands.MainCommand.execute(MainCommand.java:220)[MainCommand.class:?]
      2. com.intellectualcrafters.plot.commands.MainCommand.onCommand(MainCommand.java:133)[MainCommand.class:?]
      2 frames
    6. com.plotsquared.sponge
      SpongeCommand.lambda$process$6
      1. com.plotsquared.sponge.util.SpongeCommand.lambda$process$6(SpongeCommand.java:40)[SpongeCommand.class:?]
      1 frame
    7. org.spongepowered.api
      Task$Builder.lambda$execute$0
      1. org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)[Task$Builder.class:1.10.2-2052-5.0.0-BETA-1680]
      1 frame
    8. org.spongepowered.common
      SchedulerBase.processTask
      1. org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:177)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1680]
      2. org.spongepowered.common.scheduler.SyncScheduler.executeTaskRunnable(SyncScheduler.java:66)[SyncScheduler.class:1.10.2-2052-5.0.0-BETA-1680]
      3. org.spongepowered.common.scheduler.SchedulerBase.startTask(SchedulerBase.java:174)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1680]
      4. org.spongepowered.common.scheduler.SchedulerBase.processTask(SchedulerBase.java:160)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1680]
      4 frames
    9. Java RT
      ConcurrentHashMap$ValuesView.forEach
      1. java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4707)[?:1.8.0_92-internal]
      1 frame
    10. org.spongepowered.common
      SpongeScheduler.tickSyncScheduler
      1. org.spongepowered.common.scheduler.SchedulerBase.runTick(SchedulerBase.java:104)[SchedulerBase.class:1.10.2-2052-5.0.0-BETA-1680]
      2. org.spongepowered.common.scheduler.SyncScheduler.tick(SyncScheduler.java:41)[SyncScheduler.class:1.10.2-2052-5.0.0-BETA-1680]
      3. org.spongepowered.common.scheduler.SpongeScheduler.tickSyncScheduler(SpongeScheduler.java:191)[SpongeScheduler.class:1.10.2-2052-5.0.0-BETA-1680]
      3 frames
    11. org.spongepowered.mod
      SpongeMod.onTick
      1. org.spongepowered.mod.SpongeMod.onTick(SpongeMod.java:252)[SpongeMod.class:1.10.2-2052-5.0.0-BETA-1680]
      1 frame
    12. MC Forge
      FMLCommonHandler.onPreServerTick
      1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_SpongeMod_onTick_ServerTickEvent.invoke(.dynamic)[?:?]
      2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72)[ASMEventHandler.class:?]
      3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:131)[EventBus.class:?]
      4. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:100)[EventBus.class:?]
      5. net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:274)[FMLCommonHandler.class:?]
      5 frames
    13. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:602)[MinecraftServer.class:?]
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      2 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92-internal]
      1 frame