You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Vitaly Ivanov (Jira)" <ji...@apache.org> on 2022/01/06 12:36:00 UTC

[jira] [Created] (BEAM-13604) NPE while getting null from BigDecimal column

Vitaly Ivanov created BEAM-13604:
------------------------------------

             Summary: NPE while getting null from BigDecimal column
                 Key: BEAM-13604
                 URL: https://issues.apache.org/jira/browse/BEAM-13604
             Project: Beam
          Issue Type: Bug
          Components: io-java-jdbc
    Affects Versions: 2.35.0
            Reporter: Vitaly Ivanov
            Assignee: Vitaly Ivanov


{noformat}
Exception in thread "main" org.apache.beam.sdk.Pipeline$PipelineExecutionException: java.lang.NullPointerException
    at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:373)
    at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:341)
    at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:218)
    at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:67)
    at org.apache.beam.sdk.Pipeline.run(Pipeline.java:323)
    at org.apache.beam.sdk.Pipeline.run(Pipeline.java:309)
    at io.synthesized.testingsuite.SubsetterRunner.run(SubsetterRunner.kt:75)
    at io.synthesized.testingsuite.SubsetterRunnerKt.main(SubsetterRunner.kt:39)
    at io.synthesized.testingsuite.SubsetterRunnerKt.main(SubsetterRunner.kt)
Caused by: java.lang.NullPointerException
    at org.apache.beam.sdk.io.jdbc.LogicalTypes$FixedPrecisionNumeric.toInputType(LogicalTypes.java:283)
    at org.apache.beam.sdk.io.jdbc.LogicalTypes$FixedPrecisionNumeric.toInputType(LogicalTypes.java:254)
    at org.apache.beam.sdk.io.jdbc.SchemaUtil.lambda$createLogicalTypeExtractor$ca0ab2ec$2(SchemaUtil.java:323)
    at org.apache.beam.sdk.io.jdbc.SchemaUtil$BeamRowMapper.mapRow(SchemaUtil.java:393)
    at org.apache.beam.sdk.io.jdbc.SchemaUtil$BeamRowMapper.mapRow(SchemaUtil.java:371)
    at org.apache.beam.sdk.io.jdbc.JdbcIO$ReadFn.processElement(JdbcIO.java:1212)
Disconnected from the target VM, address: '127.0.0.1:55187', transport: 'socket'{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)