cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JKnight JKnight <beukni...@gmail.com>
Subject Error with Cassandra Only Example in contrib/client_only
Date Tue, 02 Mar 2010 03:31:47 GMT
Dear all,

I tried to run ClientOnlyExample.java on contrib/client_only. But the code
did not run. The  error is:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0,
Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.get(ArrayList.java:349)
    at
org.apache.cassandra.locator.RackUnawareStrategy.getNaturalEndpoints(RackUnawareStrategy.java:58)
    at
org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:66)

Could you give me some advice?
Thank a lot for support.
-- 
Best regards,
JKnight

Mime
View raw message