You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Tomasz Guzialek (JIRA)" <ji...@apache.org> on 2015/01/30 10:51:34 UTC
[jira] [Created] (METAMODEL-109) CassandraDataContext throws NPE
when keyspace does not exist
Tomasz Guzialek created METAMODEL-109:
-----------------------------------------
Summary: CassandraDataContext throws NPE when keyspace does not exist
Key: METAMODEL-109
URL: https://issues.apache.org/jira/browse/METAMODEL-109
Project: Apache MetaModel
Issue Type: Bug
Reporter: Tomasz Guzialek
A NullPointerException is thrown if a non-existent keyspace is specified in CassandraDataContext:
java.lang.NullPointerException
at org.apache.metamodel.cassandra.CassandraDataContext.detectSchema(CassandraDataContext.java:108)
at org.apache.metamodel.cassandra.CassandraDataContext.<init>(CassandraDataContext.java:89)
An exception with more informative message should be thrown.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)