incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Forkalsrud <eforkals...@cj.com>
Subject Re: Internal error processing get: Null pointer exception
Date Wed, 02 Nov 2011 19:09:33 GMT
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

Mime
View raw message