metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Guzialek (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (METAMODEL-109) CassandraDataContext throws NPE when keyspace does not exist
Date Fri, 30 Jan 2015 10:27:34 GMT

     [ https://issues.apache.org/jira/browse/METAMODEL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tomasz Guzialek reassigned METAMODEL-109:
-----------------------------------------

    Assignee: Tomasz Guzialek

> 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
>            Assignee: 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)

Mime
View raw message