incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tinker <david.tin...@gmail.com>
Subject Re: Occasional NPE using DataStax Java driver
Date Fri, 20 Dec 2013 05:50:57 GMT
Done. https://datastax-oss.atlassian.net/browse/JAVA-231

On Thu, Dec 19, 2013 at 10:42 AM, Sylvain Lebresne <sylvain@datastax.com> wrote:
> Mind opening a ticket on https://datastax-oss.atlassian.net/browse/JAVA?
> It's almost surely a bug.
>
> --
> Sylvain
>
>
> On Thu, Dec 19, 2013 at 8:21 AM, David Tinker <david.tinker@gmail.com>
> wrote:
>>
>> We are using Cassandra 2.0.3-1 installed on Ubuntu 12.04 from the
>> DataStax repo with the DataStax Java driver version 2.0.0-rc1. Every
>> now and then we get the following exception:
>>
>> 2013-12-19 06:56:34,619 [sql-2-t15] ERROR core.RequestHandler  -
>> Unexpected error while querying /x.x.x.x
>> java.lang.NullPointerException
>> at
>> com.datastax.driver.core.HostConnectionPool.waitForConnection(HostConnectionPool.java:203)
>> at
>> com.datastax.driver.core.HostConnectionPool.borrowConnection(HostConnectionPool.java:107)
>> at com.datastax.driver.core.RequestHandler.query(RequestHandler.java:112)
>> at
>> com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:93)
>> at com.datastax.driver.core.Session$Manager.execute(Session.java:513)
>> at com.datastax.driver.core.Session$Manager.executeQuery(Session.java:549)
>> at com.datastax.driver.core.Session.executeAsync(Session.java:172)
>>
>> This happens during a big data load process which will do up to 256
>> executeAsync's in parallel.
>>
>> Any ideas? Its not causing huge problems because the operation is just
>> retried by our code but it would be nice to eliminate it.
>
>



-- 
http://qdb.io/ Persistent Message Queues With Replay and #RabbitMQ Integration

Mime
View raw message