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

Sql - native tests fail on NPE during db initialization #3247

Closed
JiriOndrusek opened this issue Nov 1, 2021 · 1 comment · Fixed by #3248
Closed

Sql - native tests fail on NPE during db initialization #3247

JiriOndrusek opened this issue Nov 1, 2021 · 1 comment · Fixed by #3248
Assignees

Comments

@JiriOndrusek
Copy link
Contributor

Here is a log snippet (execution with -Dcq.sqlJdbcKind=oracle):

2021-11-01 13:01:32,115 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: java.lang.NullPointerException
	at java.io.Reader.<init>(Reader.java:167)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
	at org.apache.camel.quarkus.component.sql.it.SqlDbInitializer.initDb(SqlDbInitializer.java:52)
	at org.apache.camel.quarkus.component.sql.it.SqlDbInitializer_ClientProxy.initDb(SqlDbInitializer_ClientProxy.zig:127)
@JiriOndrusek JiriOndrusek self-assigned this Nov 1, 2021
JiriOndrusek added a commit to JiriOndrusek/camel-quarkus that referenced this issue Nov 1, 2021
JiriOndrusek added a commit to JiriOndrusek/camel-quarkus that referenced this issue Nov 1, 2021
@JiriOndrusek
Copy link
Contributor Author

Problem is mainly caused by not consistent approach used for oracle db. Oracle db usage should use the same approach as other external dbs - -Dcq.sqlJdbcKind=oracle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant