incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Internal error processing get: Null pointer exception
Date Thu, 03 Nov 2011 03:14:23 GMT
Absolutely right.  Patch attached to
https://issues.apache.org/jira/browse/CASSANDRA-3449

On Wed, Nov 2, 2011 at 2:09 PM, Erik Forkalsrud <eforkalsrud@cj.com> wrote:
> On 11/01/2011 09:02 PM, Jonathan Ellis wrote:
>>
>> That doesn't make sense to me.  CS:147 is
>>
>>             columnFamilyKeyMap.put(row.key, row.cf);
>>
>> where cFKM is
>>
>>         Map<DecoratedKey, ColumnFamily>  columnFamilyKeyMap = new
>> HashMap<DecoratedKey, ColumnFamily>();
>>
>> So cFKM can't be null, and HashMap accomodates both null key and null
>> value, so I'm not sure what there is to thorw NPE.
>
> it must be  row == null
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message