Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by YuvalItzchakov
, 1 year ago
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [B
via GitHub by bloodyraoul
, 2 years ago
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Byte
via minecraftforum.net by Unknown author, 1 year ago
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
via GitHub by roket333
, 2 years ago
java.lang.ClassCastException: net.minecraft.item.ItemStack cannot be cast to java.lang.Short
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [B	at io.netty.buffer.PooledHeapByteBuf._setLong(PooledHeapByteBuf.java:185)	at io.netty.buffer.AbstractByteBuf.writeLong(AbstractByteBuf.java:791)	at org.apache.spark.network.protocol.MessageEncoder.encode(MessageEncoder.java:79)	at org.apache.spark.network.protocol.MessageEncoder.encode(MessageEncoder.java:33)	at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89)	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:691)	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:626)	at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandler.java:284)	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)	at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:32)	at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:908)	at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:960)	at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:893)	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)	at java.lang.Thread.run(Thread.java:745)