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