Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Sort] NPE occurs when running Oracle all database migration jobs #7695

Closed
2 tasks done
e-mhui opened this issue Mar 25, 2023 · 0 comments · Fixed by #7696
Closed
2 tasks done

[Bug][Sort] NPE occurs when running Oracle all database migration jobs #7695

e-mhui opened this issue Mar 25, 2023 · 0 comments · Fixed by #7696
Assignees
Labels
component/sort type/bug Something is wrong
Milestone

Comments

@e-mhui
Copy link
Contributor

e-mhui commented Mar 25, 2023

What happened

The following error occurs when enabling incremental snapshots during all database migration job.

Caused by: java.lang.NullPointerException
	at org.apache.inlong.sort.cdc.oracle.debezium.table.RowDataDebeziumDeserializeSchema$18.convert(RowDataDebeziumDeserializeSchema.java:723) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.debezium.table.RowDataDebeziumDeserializeSchema$13.convert(RowDataDebeziumDeserializeSchema.java:506) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.debezium.table.RowDataDebeziumDeserializeSchema.extractAfterRow(RowDataDebeziumDeserializeSchema.java:827) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.debezium.table.RowDataDebeziumDeserializeSchema.deserialize(RowDataDebeziumDeserializeSchema.java:799) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.debezium.table.RowDataDebeziumDeserializeSchema.deserialize(RowDataDebeziumDeserializeSchema.java:788) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.source.reader.OracleRecordEmitter.emitElement(OracleRecordEmitter.java:96) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.source.reader.OracleRecordEmitter.processElement(OracleRecordEmitter.java:87) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]
	at org.apache.inlong.sort.cdc.oracle.shaded.org.apache.inlong.sort.cdc.base.source.reader.IncrementalSourceRecordEmitter.emitRecord(IncrementalSourceRecordEmitter.java:87) ~[pool-1-thread-8-1679744496795-dev-sort-connector-oracle-cdc-1.5.0-SNAPSHOT.jar:2.3.0]

What you expected to happen

Run job normally.

How to reproduce

Run all database migration job.

Environment

No response

InLong version

master

InLong Component

InLong Sort

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@e-mhui e-mhui added the type/bug Something is wrong label Mar 25, 2023
@healchow healchow changed the title [Bug][Sort] Fix the error of enabling incremental snapshots when Oracle run all database migration job [Bug][Sort] NPE occurs when running Oracle all database migration jobs Mar 27, 2023
@healchow healchow added this to the 1.7.0 milestone Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sort type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants