DeadLion opened a new issue #6983:
URL: https://github.com/apache/skywalking/issues/6983


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   
   ___
   ### Bug
   SkyWalking 8.5.0
   
   now the cassandra version is  3.7.2 ,we use 3.4.0
   
   
   ```
           String remotePeer = statement.getHost() == null ? 
connectionInfo.getContactPoints() : (statement.getHost()
                                                                                
                           .getSocketAddress()
                                                                                
                           .getHostName() + ":" + statement
               .getHost()
               .getSocketAddress()
               .getPort());
   
   ```
   
    statement.getHost() will throw NPE on 3.4.0 ,maybe we should check null 
before geting host to adapter low version's driver. 
   
   
   


-- 
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:
[email protected]


Reply via email to