java.lang.ClassCastException: KafkaStreamsSpike$BusinessProcess cannot be cast to [B

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 Google Groups by vivek sharma, 9 months ago
KafkaStreamsSpike$BusinessProcess cannot be cast to [B
via Stack Overflow by Shilpi
, 1 week ago
java.lang.String cannot be cast to [B
java.lang.ClassCastException: KafkaStreamsSpike$BusinessProcess cannot be cast to [B
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)

Users with the same issue

2 times, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.