SNOW-1408151: net.snowflake.client.core.SFException: JDBC driver internal error: unexpected exception java.lang.NullPointerExceptionnull.
Closed this issue · 3 comments
-
What version of JDBC driver are you using?
3.14.0 -
What operating system and processor architecture are you using?
Amazon Linux 2 -
What version of Java are you using?
Corretto 17 -
What did you do?
No changes on app side -
What did you expect to see?
No exceptions in logs. -
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
-
What is your Snowflake account identifier, if any? (Optional)
Exception
heartbeat error - message=JDBC driver internal error: unexpected exception java.lang.NullPointerException: Cannot read field "name" because "x0" is null at net.snowflake.client.jdbc.telemetryOOB.TelemetryService$TELEMETRY_SERVER_DEPLOYMENT.access$000(TelemetryService.java:270).
net.snowflake.client.core.SFException: JDBC driver internal error: unexpected exception java.lang.NullPointerExceptionnull.
at net.snowflake.client.core.SFSession.heartbeat(SFSession.java:865)
at net.snowflake.client.core.HeartbeatBackground.run(HeartbeatBackground.java:192)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.lang.Thread.run(Thread.java:840)
Hey @IRus,
I'm just checking in to see if you were able to confirm that the newer JDBC driver releases starting with 3.14.4 address this problem.
@sfc-gh-wfateem Hi, I apologize for the delay, we were doing testing with new driver version.
Now it's deployed to production and the issue disappeared, thank you!