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

Occasional NPE in AbstractReadContext#close() #1453

Open
olavloite opened this issue Jan 3, 2024 · 3 comments
Open

Occasional NPE in AbstractReadContext#close() #1453

olavloite opened this issue Jan 3, 2024 · 3 comments
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@olavloite
Copy link
Collaborator

In version 2.9.11

"Caused by: java.lang.NullPointerException",
"\com.google.cloud.spanner.AbstractReadContext.close(AbstractReadContext.java:709)",
"com.google.cloud.spanner.SessionPool$AutoClosingReadContext.close(SessionPool.java:541)",
"com.google.cloud.spanner.SessionPool$AutoClosingReadContext$1.close(SessionPool.java:328)",
"com.google.cloud.spanner.SessionPool$AutoClosingReadContext$1.internalNext(SessionPool.java:306)",
"com.google.cloud.spanner.SessionPool$AutoClosingReadContext$1.next(SessionPool.java:277)",

@olavloite olavloite added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p3 Desirable enhancement or fix. May not be included in next release. labels Jan 3, 2024
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner-jdbc API. label Jan 3, 2024
@Mironiken
Copy link

Hi! We got a lot of such errors on our production. Do you have any ETA?

@olavloite
Copy link
Collaborator Author

Hi! We got a lot of such errors on our production. Do you have any ETA?

Hi @Mironiken, thanks for reaching out. I've actually not been able to reproduce it locally. Do you have a reproduction scenario?

@Mironiken
Copy link

Nope. I cannot reproduce it locally either. I can create a build with additional logging and run it on the internal environment. I will notify you if there are any results.
Feel free to share any additional thoughts you may have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner-jdbc API. priority: p3 Desirable enhancement or fix. May not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants