Patrick0308 opened a new pull request #5109:
URL: https://github.com/apache/skywalking/pull/5109


   Please answer these questions before submitting pull request
   
   - Why submit this pull request?
   - [*] Bug fix
   - [ ] New feature provided
   - [ ] Improve performance
   
   - Related issues
   #4965 
   ___
   ### Bug fix
   - Bug description.
   When invoking prepareCall, it will determine procedures's parameter types by 
execute sql. `StatementEnhanceInfos` is set after prepareCall, so 
`StatementEnhanceInfos` is null in 
`PreparedStatementExecuteMethodsInterceptor.beforeMethod`, the NPE was happen.
   - How to fix?
   I suggest to avoid NPE. We don't need to record sql which determine 
procedures's parameter.
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to