java.lang.ClassCastException: li.cil.oc.common.tileentity.Case cannot be cast to ic2.api.energy.tile.IEnergyTile

GitHub | cheriekeks | 10 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. 0

    GitHub comment 1937#231534255

    GitHub | 10 months ago | cheriekeks
    java.lang.ClassCastException: li.cil.oc.common.tileentity.Case cannot be cast to ic2.api.energy.tile.IEnergyTile
  2. 0

    GitHub comment 1937#231932970

    GitHub | 10 months ago | jmcaffee
    java.lang.ClassCastException: li.cil.oc.common.tileentity.PowerConverter cannot be cast to ic2.api.energy.tile.IEnergyTile

    Root Cause Analysis

    1. java.lang.ClassCastException

      li.cil.oc.common.tileentity.Case cannot be cast to ic2.api.energy.tile.IEnergyTile

      at li.cil.oc.common.EventHandler$$anonfun$scheduleIC2Add$1.apply$mcV$sp()
    2. li.cil.oc
      EventHandler$$anonfun$onServerTick$1.apply
      1. li.cil.oc.common.EventHandler$$anonfun$scheduleIC2Add$1.apply$mcV$sp(EventHandler.scala:116)[EventHandler$$anonfun$scheduleIC2Add$1.class:?]
      2. li.cil.oc.common.EventHandler$$anonfun$onServerTick$1.apply(EventHandler.scala:161)[EventHandler$$anonfun$onServerTick$1.class:?]
      3. li.cil.oc.common.EventHandler$$anonfun$onServerTick$1.apply(EventHandler.scala:160)[EventHandler$$anonfun$onServerTick$1.class:?]
      3 frames
    3. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[IndexedSeqOptimized$class.class:?]
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[ArrayOps$ofRef.class:?]
      2 frames
    4. li.cil.oc
      EventHandler$.onServerTick
      1. li.cil.oc.common.EventHandler$.onServerTick(EventHandler.scala:160)[EventHandler$.class:?]
      1 frame
    5. MC Forge
      FMLCommonHandler.onPreServerTick
      1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_404_EventHandler$_onServerTick_ServerTickEvent.invoke(.dynamic)[?:?]
      2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)[ASMEventHandler.class:?]
      3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)[EventBus.class:?]
      4. net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:274)[FMLCommonHandler.class:?]
      4 frames
    6. 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