cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Greene <michael.gre...@gmail.com>
Subject Re: Pls, help with fetching of super-column's value
Date Wed, 19 Aug 2009 15:41:58 GMT
start and finish in SliceRange are non-optional.  Try empty strings.

2009/8/19 Teodor Sigaev <teodor@sigaev.ru>:
> Some more news, I added printing of stack trace to perl's client, and I see
> that problem is in getting answer from server, not in sending. It breaks on
> reading of exception (TMessageType::EXCEPTION) from server side.
>
> Cassandra outputs (with loglevel DEBUG):
> DEBUG - get_slice_from
> ERROR - Internal error processing get_slice
> java.lang.NullPointerException
>        at java.lang.String.<init>(String.java:523)
>        at
> org.apache.cassandra.db.marshal.AsciiType.getString(AsciiType.java:33)
>        at
> org.apache.cassandra.db.SliceFromReadCommand.toString(SliceFromReadCommand.java:71)
>        at java.lang.String.valueOf(String.java:2838)
>        at java.lang.StringBuilder.append(StringBuilder.java:132)
>        at
> org.apache.cassandra.service.StorageProxy.weakReadLocal(StorageProxy.java:602)
>        at
> org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:320)
>        at
> org.apache.cassandra.service.CassandraServer.readColumnFamily(CassandraServer.java:92)
>        at
> org.apache.cassandra.service.CassandraServer.getSlice(CassandraServer.java:173)
>        at
> org.apache.cassandra.service.CassandraServer.get_slice(CassandraServer.java:213)
>        at
> org.apache.cassandra.service.Cassandra$Processor$get_slice.process(Cassandra.java:572)
>        at
> org.apache.cassandra.service.Cassandra$Processor.process(Cassandra.java:560)
>        at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:252)
>        at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>        at java.lang.Thread.run(Thread.java:636)
>
>
> --
> Teodor Sigaev                                   E-mail: teodor@sigaev.ru
>                                                   WWW: http://www.sigaev.ru/
>

Mime
View raw message