java.lang.ClassCastException

KafkaStreamsSpike$BusinessProcess cannot be cast to [B


Solutions on the web19558

Solution icon of googlegroups
via Google Groups by vivek sharma, 6 months ago
KafkaStreamsSpike$BusinessProcess cannot be cast to [B

Solution icon of coderanch
via Coderanch by Tony Docherty, 10 months ago
A cannot be cast to B

Solution icon of bugzilla
via https://bugzilla.redhat.com/bugzilla/ by John Sanda, 1 year ago
[B cannot be cast to [Ljava.lang.Object;

Solution icon of github
via GitHub by Bam4d
, 1 year ago
java.util.ArrayList cannot be cast to [B

Solution icon of github
via GitHub by tpj
, 9 months ago
[B cannot be cast to [Ljava.math.BigInteger;

Solution icon of github
[B cannot be cast to [Ljava.lang.Object;

Solution icon of github
[J cannot be cast to [B

Solution icon of github
[B cannot be cast to java.math.BigInteger

Solution icon of github
[B cannot be cast to java.lang.String

Solution icon of github
[I cannot be cast to [B

Stack trace

  • java.lang.ClassCastException: KafkaStreamsSpike$BusinessProcess cannot be cast to [B at org.apache.kafka.common.serialization.ByteArraySerializer.serialize(ByteArraySerializer.java:18) at org.apache.kafka.streams.processor.internals.RecordCollector.send(RecordCollector.java:77) at org.apache.kafka.streams.processor.internals.SinkNode.process(SinkNode.java:72) at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:338) at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:187) at org.apache.kafka.streams.kstream.internals.KStreamMap$KStreamMapProcessor.process(KStreamMap.java:43) at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:68) at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:338) at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:187) at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:64) at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:174) at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:320) at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:218)

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

2 times, 8 months ago