org.springframework.messaging.MessagingException: Exception thrown while invoking MyApplication#myMessageSink[1 args]; nested exception is org.apache.avro.AvroRuntimeException: Malformed data. Length is negative: -27

Stack Overflow | neptoon | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Spring Cloud Stream Kafka > consuming Avro messages from Confluent REST Proxy

    Stack Overflow | 5 months ago | neptoon
    org.springframework.messaging.MessagingException: Exception thrown while invoking MyApplication#myMessageSink[1 args]; nested exception is org.apache.avro.AvroRuntimeException: Malformed data. Length is negative: -27

    Root Cause Analysis

    1. org.springframework.messaging.MessagingException

      Exception thrown while invoking MyApplication#myMessageSink[1 args]; nested exception is org.apache.avro.AvroRuntimeException: Malformed data. Length is negative: -27

      at org.springframework.cloud.stream.binding.StreamListenerAnnotationBeanPostProcessor$StreamListenerMessageHandler.handleRequestMessage()
    2. org.springframework.cloud
      StreamListenerAnnotationBeanPostProcessor$StreamListenerMessageHandler.handleRequestMessage
      1. org.springframework.cloud.stream.binding.StreamListenerAnnotationBeanPostProcessor$StreamListenerMessageHandler.handleRequestMessage(StreamListenerAnnotationBeanPostProcessor.java:316)[spring-cloud-stream-1.1.0.RELEASE.jar:1.1.0.RELEASE]
      1 frame
    3. Spring Integration Core
      UnicastingDispatcher.doDispatch
      1. org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:109)[spring-integration-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      2. org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:127)[spring-integration-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      3. org.springframework.integration.dispatcher.AbstractDispatcher.tryOptimizedDispatch(AbstractDispatcher.java:116)[spring-integration-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4. org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:148)[spring-integration-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
      4 frames