You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Mark Shelton (JIRA)" <ji...@apache.org> on 2016/10/20 17:44:58 UTC
[jira] [Created] (KAFKA-4324) NullPointerException in
StreamTask.forward
Mark Shelton created KAFKA-4324:
-----------------------------------
Summary: NullPointerException in StreamTask.forward
Key: KAFKA-4324
URL: https://issues.apache.org/jira/browse/KAFKA-4324
Project: Kafka
Issue Type: Bug
Components: streams
Affects Versions: 0.10.0.1
Reporter: Mark Shelton
Assignee: Guozhang Wang
Priority: Minor
I have a custom processor "MyProcessor extends AbstractProcessor<String, Object>". The processor receives a message and transforms it and calls "context.forward". This sometimes results in below exception. It seems to occur when there are multiple messages available for processing.
Stack trace:
java.lang.NullPointerException
at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:341)
at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:187)
at xx.xx.xx.xx.xx.xx.xx.lambda$xx$1(xx.java:63)
....
at xx.xx.xx.xx.xx.process(MyProcessor.java:16)
at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:68)
at org.apache.kafka.streams.processor.internals.StreamTask.forward(StreamTask.java:343)
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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)