flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gábor Hermann (JIRA) <j...@apache.org>
Subject [jira] [Created] (FLINK-8237) BucketingSink throws NPE when Writer.duplicate returns null
Date Mon, 11 Dec 2017 13:28:00 GMT
Gábor Hermann created FLINK-8237:
------------------------------------

             Summary: BucketingSink throws NPE when Writer.duplicate returns null
                 Key: FLINK-8237
                 URL: https://issues.apache.org/jira/browse/FLINK-8237
             Project: Flink
          Issue Type: Bug
            Reporter: Gábor Hermann
            Priority: Minor


Users need to look into Flink code to find the cause. We could catch that null before even
running the job.

{code:java}
java.lang.NullPointerException
        at org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink.openNewPartFile(BucketingSink.java:546)
        at org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink.invoke(BucketingSink.java:441)
        at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:41)
        at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.pushToOperator(OperatorChain.java:528)
        at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:503)
        at org.apache.flink.streaming.runtime.tasks.OperatorChain$CopyingChainingOutput.collect(OperatorChain.java:483)
        at org.apache.flink.streaming.api.operators.AbstractStreamOperator$CountingOutput.collect(AbstractStreamOperator.java:891)
        at org.apache.flink.streaming.api.operators.AbstractStreamOperator$CountingOutput.collect(AbstractStreamOperator.java:869)
        at org.apache.flink.streaming.api.operators.StreamFilter.processElement(StreamFilter.java:40)
        at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:206)
        at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:69)
        at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:263)
        at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message