Hi, this reminds me a problem I had with a truncate.

I think that to show schema, you're cluster must be stable and your schema agreed across the cluster.

See if your cluster is really the one described by your nodetool ring and if the same schema is present on each node.

You should visit this  : http://wiki.apache.org/cassandra/FAQ#schema_disagreement

I'm not a Cassandra dev, I may be wrong about what your real problem is.

Alain

2011/12/13 Maxim Potekhin <potekhin@bnl.gov>
Running cli --debug:

[default@PANDA] show schema;
null
java.lang.RuntimeException
       at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:310)
       at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
       at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
Caused by: java.lang.NullPointerException
       at org.apache.cassandra.cli.CliClient.showColumnMeta(CliClient.java:1716)
       at org.apache.cassandra.cli.CliClient.showColumnFamily(CliClient.java:1686)
       at org.apache.cassandra.cli.CliClient.showKeyspace(CliClient.java:1636)
       at org.apache.cassandra.cli.CliClient.executeShowSchema(CliClient.java:1598)
       at org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:250)