Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8300

KinesisIO.write causes NPE as the producer is null

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 2.15.0
    • 2.17.0
    • io-java-kinesis
    • None

    Description

      While using KinesisIO.write(), we encountered a NPE with the following stack traceĀ 

      org.apache.beam.runners.flink.translation.wrappers.streaming.io.UnboundedSourceWrapper.run(UnboundedSourceWrapper.java:297)\n\tat org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:93)\n\tat org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:57)\n\tat org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:97)\n\tat org.apache.flink.streaming.runtime.tasks.StoppableSourceStreamTask.run(StoppableSourceStreamTask.java:45)\n\tat org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:300)\n\tat org.apache.flink.runtime.taskmanager.Task.run(Task.java:711)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: java.lang.NullPointerException: null\n\tat org.apache.beam.sdk.io.kinesis.KinesisIO$Write$KinesisWriterFn.flushBundle(KinesisIO.java:685)\n\tat org.apache.beam.sdk.io.kinesis.KinesisIO$Write$KinesisWriterFn.finishBundle(KinesisIO.java:669)

      Attachments

        Issue Links

          Activity

            People

              jhalarua Ankit Jhalaria
              jhalarua Ankit Jhalaria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 50m
                  4h 50m