Posts

Showing posts with the label apache-beam

NullPointerException when outputting TableRow with null value

Image
Clash Royale CLAN TAG #URR8PPP NullPointerException when outputting TableRow with null value I am trying to build a TableRow object to eventually be written to a BigQuery table, but I get a NullPointerException if I include a null value in the row. This is the full stacktrace: TableRow NullPointerException null Exception in thread "main" org.apache.beam.sdk.Pipeline$PipelineExecutionException: java.lang.NullPointerException at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:349) at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:319) at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:210) at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:66) at org.apache.beam.sdk.Pipeline.run(Pipeline.java:311) at org.apache.beam.sdk.Pipeline.run(Pipeline.java:297) at dataflowsandbox.StarterPipeline.runTest(StarterPipeline.j...