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

GitHub | jmcaffee | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1937#231932970

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

    GitHub comment 1937#231534255

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

    Root Cause Analysis

    1. java.lang.ClassCastException

      li.cil.oc.common.tileentity.PowerConverter 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_803_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.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)[bzl.class:?]
      3. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)[MinecraftServer.class:?]
      3 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]
      1 frame