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

SNOW-1408151: net.snowflake.client.core.SFException: JDBC driver internal error: unexpected exception java.lang.NullPointerExceptionnull. #1752

Closed
IRus opened this issue May 13, 2024 · 3 comments
Assignees
Labels
bug status-triage_done Initial triage done, will be further handled by the driver team

Comments

@IRus
Copy link

IRus commented May 13, 2024

  1. What version of JDBC driver are you using?
    3.14.0

  2. What operating system and processor architecture are you using?
    Amazon Linux 2

  3. What version of Java are you using?
    Corretto 17

  4. What did you do?
    No changes on app side

  5. What did you expect to see?
    No exceptions in logs.

  6. Can you set logging to DEBUG and collect the logs?

    https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors

  7. 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)
@IRus IRus added the bug label May 13, 2024
@github-actions github-actions bot changed the title net.snowflake.client.core.SFException: JDBC driver internal error: unexpected exception java.lang.NullPointerExceptionnull. SNOW-1408151: net.snowflake.client.core.SFException: JDBC driver internal error: unexpected exception java.lang.NullPointerExceptionnull. May 13, 2024
@sfc-gh-wfateem sfc-gh-wfateem self-assigned this May 13, 2024
@sfc-gh-wfateem
Copy link
Collaborator

Hi @IRus,

This issue you're seeing was addressed in PR #1608 and that was fixed starting with version 3.14.4. Can you upgrade the JDBC driver and check if that addresses the issue, please?

@sfc-gh-wfateem sfc-gh-wfateem added the status-triage_done Initial triage done, will be further handled by the driver team label May 13, 2024
@sfc-gh-wfateem
Copy link
Collaborator

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.

@IRus
Copy link
Author

IRus commented May 18, 2024

@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!

@IRus IRus closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

2 participants