metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METAMODEL-109) CassandraDataContext throws NPE when keyspace does not exist
Date Mon, 02 Feb 2015 09:04:34 GMT

    [ https://issues.apache.org/jira/browse/METAMODEL-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301026#comment-14301026
] 

ASF GitHub Bot commented on METAMODEL-109:
------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/metamodel/pull/6


> 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