Hi
I'm getting this problem with the version from svn tag 0.5.0-beta1

On Mon, Dec 14, 2009 at 12:37 AM, Dan Di Spaltro <dan.dispaltro@gmail.com> wrote:
I originally had a lot of these problems; however, I think this specific bug was fixed in http://issues.apache.org/jira/browse/CASSANDRA-578.   Your best bet is to upgrade to 0.5


On Sun, Dec 13, 2009 at 2:29 PM, Richard Grossman <richiesgr@gmail.com> wrote:
Hi,

I've build a DB as I've made with 0.4.2 now with this code :

               final SliceRange sliceRange = new SliceRange(limitsChannel[0].getBytes("UTF-8"), limitsChannel[1].getBytes("UTF-8"), false, headendsChannelList.size());
                SlicePredicate predicateKeys = new SlicePredicate(null, sliceRange);
                ColumnParent parent = new ColumnParent("channelShowDate", null);
                List<KeySlice> keysSlice = null;

                keysSlice = clientCassandra.get_range_slice("Keyspace1", parent, predicateKeys, String.valueOf(startDate.getTime()),
                        String.valueOf(endDate.getTime()), (int) diffMillis, ConsistencyLevel.QUORUM);

I get this :

ERROR [ROW-READ-STAGE:2] 2009-12-14 00:23:11,372 DebuggableThreadPoolExecutor.java (line 127) Error in ThreadPoolExecutor
java.lang.RuntimeException: java.lang.NullPointerException
    at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:53)
    at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:38)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NullPointerException
    at org.apache.cassandra.db.Row.addColumnFamily(Row.java:96)
    at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1469)
    at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:39)
    ... 4 more
ERROR [ROW-READ-STAGE:2] 2009-12-14 00:23:11,388 CassandraDaemon.java (line 71) Fatal exception in thread Thread[ROW-READ-STAGE:2,5,main]
java.lang.RuntimeException: java.lang.NullPointerException
    at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:53)
    at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:38)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NullPointerException
    at org.apache.cassandra.db.Row.addColumnFamily(Row.java:96)
    at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1469)
    at org.apache.cassandra.service.RangeSliceVerbHandler.doVerb(RangeSliceVerbHandler.java:39)
    ... 4 more

The point that seems to be very strange is : at org.apache.cassandra.db.Row.addColumnFamily(Row.java:96)

why If I make a get_range_slice I call a addColumnFamily it's just a query !!

Please help it's really critical for us to fix this

Thanks for any help

Richard



--
Dan Di Spaltro