Bug 1145286

Summary: NPE in DataStax driver - JAVA-231
Product: [JBoss] JBoss Operations Network Reporter: John Sanda <jsanda>
Component: Storage NodeAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: genman, jsanda, jshaughn, mfoley
Target Milestone: ER04   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1144238 Environment:
Last Closed: 2014-12-11 14:02:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1144238    
Bug Blocks: 1146138    

Description John Sanda 2014-09-22 18:24:30 UTC
+++ This bug was initially created as a clone of Bug #1144238 +++

Description of problem:

https://datastax-oss.atlassian.net/browse/JAVA-231

This I've seen multiple times:

05:04:47,406 ERROR [com.datastax.driver.core.RequestHandler] (http-/0.0.0.0:7080-394) Unexpected error while querying vp25q03ad-hpan17033701.iad.apple.com/17.176.208.136: java.lang.NullPointerException
        at com.datastax.driver.core.HostConnectionPool.waitForConnection(HostConnectionPool.java:200) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.HostConnectionPool.borrowConnection(HostConnectionPool.java:126) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:122) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:103) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.Session$Manager.execute(Session.java:459) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.Session$Manager.executeQuery(Session.java:495) [cassandra-driver-core-1.0.5.jar:]
        at com.datastax.driver.core.Session.executeAsync(Session.java:156) [cassandra-driver-core-1.0.5.jar:]
        at org.rhq.server.metrics.StorageSession.executeAsync(StorageSession.java:181) [rhq-server-metrics-4.12.0.jar:4.12.0]
        at org.rhq.server.metrics.MetricsDAO.updateIndex(MetricsDAO.java:244) [rhq-server-metrics-4.12.0.jar:4.12.0]
        at org.rhq.server.metrics.MetricsServer.addNumericData(MetricsServer.java:473) [rhq-server-metrics-4.12.0.jar:4.12.0]

Fix is in 1.0.6 release.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 John Sanda 2014-09-26 19:42:25 UTC
Changes have been pushed to the release/jon3.3.x branch.

commit hashes:
189d971483a
f02bec4db
189d97148

Note that commit f02bec4db was part of the work for bug 1075575, but it took care of the upgrade.

Comment 2 Simeon Pinder 2014-10-01 21:33:41 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959