java.lang.IllegalArgumentException: unsupported data type


Solutions on the web

Solution icon of github
unsupported data type

Stack trace

java.lang.IllegalArgumentException: unsupported data type
	at li.cil.oc.server.network.Network$Packet$$anonfun$16$$anonfun$apply$11.apply(Network.scala:705)
	at li.cil.oc.server.network.Network$Packet$$anonfun$16$$anonfun$apply$11.apply(Network.scala:694)
	at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:57)
	at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:66)
	at scala.collection.mutable.ArrayOps$ofRef.foldLeft(ArrayOps.scala:186)
	at li.cil.oc.server.network.Network$Packet$$anonfun$16.apply(Network.scala:694)
	at li.cil.oc.server.network.Network$Packet$$anonfun$16.apply(Network.scala:690)
	at scala.Option.fold(Option.scala:157)
	at li.cil.oc.server.network.Network$Packet.<init>(Network.scala:690)
	at li.cil.oc.server.network.Network$.newPacket(Network.scala:546)
	at li.cil.oc.server.network.Network$.newPacket(Network.scala:431)
	at li.cil.oc.api.Network.newPacket(Network.java:226)
	at li.cil.oc.common.nanomachines.ControllerImpl$$anonfun$respond$1.apply$mcV$sp(ControllerImpl.scala:157)
	at li.cil.oc.common.nanomachines.ControllerImpl$$anonfun$update$1.apply(ControllerImpl.scala:238)
	at li.cil.oc.common.nanomachines.ControllerImpl$$anonfun$update$1.apply(ControllerImpl.scala:238)
	at scala.Option.foreach(Option.scala:245)
	at li.cil.oc.common.nanomachines.ControllerImpl.update(ControllerImpl.scala:238)
	at li.cil.oc.common.event.NanomachinesHandler$Common$.onLivingUpdate(NanomachinesHandler.scala:92)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_27_Common$_onLivingUpdate_LivingUpdateEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
	at net.minecraftforge.common.ForgeHooks.onLivingUpdate(ForgeHooks.java:492)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1931)
	at net.minecraft.entity.player.EntityPlayer.func_70071_h_(EntityPlayer.java:233)
	at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:303)
	at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:162)
	at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:213)
	at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287)
	at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.