-
Notifications
You must be signed in to change notification settings - Fork 44
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
uncaughtException: Cannot read properties of null (reading 'query') #317
Comments
The whole error log is: |
im not sure when I can look at this, i current;y have little time available it would seem we somehow are closing the connection as part of considering it idle but leaving the description with its connection marked null. do we still see the problem if we set to be very high so connections in pool are always held open? |
Thank you very much for the response and happy holidays! I tried with inactivityTimeoutSecs = 60 (from the src it seems 60 is the max value allowed), but unfortunately I still got problem after some queries. The problem is not the exact same as above, but still the description.connection is null, which leads to the error log |
Hello, unfortunately I got an uncaught exception in my application. I was using a pool to query SQL Server database multiple times, also with pause and cancel query, and got the problem:
It is on the line 646 in lib/pool.js
The description.connection is null and look like it is set to null only in this place:
My msnodesqlv8 version: 4.1.1
Looking forward to your response. Thank you.
The text was updated successfully, but these errors were encountered: