brianmhess / cassandra-count

Count rows in Cassandra Table
Apache License 2.0
99 stars 0 forks source link

Exception in thread "main" java.lang.NullPointerException #7

Open jingtw opened 3 years ago

jingtw commented 3 years ago

我的测试表里面没有一条数据,我执行 ./cassandra-count -host xxx -user xxx -pw xxx -keyspace xxx -table xxx -debug 2 就会报错,请问是什么原因啊? Version: 0.0.6 Splitting into 256 splits Splitting 257 ranges each into 0 splits Total ranges: 257 Exception in thread "main" java.lang.NullPointerException at hessian.CqlCount.prepareStatement(CqlCount.java:433) at hessian.CqlCount.run(CqlCount.java:470) at hessian.CqlCount.main(CqlCount.java:529)