Absolutely right.  Patch attached to
https://issues.apache.org/jira/browse/CASSANDRA-3449

On Wed, Nov 2, 2011 at 2:09 PM, Erik Forkalsrud <eforkals...@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

Reply via email to