java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

Google Groups | Mangesh Sawant | 2 weeks 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

    Java stream API "reduce" throwing ClassCastException.

    Google Groups | 2 weeks ago | Mangesh Sawant
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  2. 0

    Kafka Streams 0.10.1 "Failed to flush state store"

    Stack Overflow | 2 months ago | hun7er
    org.apache.kafka.streams.errors.ProcessorStateException: task [2_0] Failed to flush state store count-test-1
  3. 0

    Kafka Streams with JSON

    Google Groups | 2 weeks ago | vivek sharma
    java.lang.ClassCastException: KafkaStreamsSpike$BusinessProcess cannot be cast to [B
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.String

      at org.apache.kafka.common.serialization.StringSerializer.serialize()
    2. Apache Kafka
      StringSerializer.serialize
      1. org.apache.kafka.common.serialization.StringSerializer.serialize(StringSerializer.java:24)
      1 frame
    3. org.apache.kafka
      RecordCollectorImpl.send
      1. org.apache.kafka.streams.processor.internals.RecordCollectorImpl.send(RecordCollectorImpl.java:64)
      1 frame