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

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

     [ https://issues.apache.org/jira/browse/BEAM-13604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-13604:
-----------------------------------

This Jira ticket has a pull request attached to it, but is still open. Did the pull request resolve the issue? If so, could you please mark it resolved? This will help the project have a clear view of its open issues.

> 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
>            Priority: P1
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {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)