Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B8ED791B2 for ; Wed, 2 Nov 2011 19:10:02 +0000 (UTC) Received: (qmail 83825 invoked by uid 500); 2 Nov 2011 19:10:00 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 83792 invoked by uid 500); 2 Nov 2011 19:10:00 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 83784 invoked by uid 99); 2 Nov 2011 19:10:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 19:10:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eforkalsrud@cj.com designates 216.34.207.11 as permitted sender) Received: from [216.34.207.11] (HELO la-smtp102.corp.valueclick.com) (216.34.207.11) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 19:09:54 +0000 Received: from unknown (HELO sb-erikf.corp.valueclick.com) ([192.168.250.7]) by la-smtp102.corp.valueclick.com with ESMTP; 02 Nov 2011 11:09:33 -0800 Message-ID: <4EB1956D.8010206@cj.com> Date: Wed, 02 Nov 2011 12:09:33 -0700 From: Erik Forkalsrud User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Internal error processing get: Null pointer exception References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 columnFamilyKeyMap = new > HashMap(); > > 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