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 Fri, 30 Jan 2015 10:48:34 GMT

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

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

GitHub user tomaszguzialek opened a pull request:

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

    Metamodel 109

    A fix for METAMODEL-109.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tomaszguzialek/incubator-metamodel METAMODEL-109

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5
    
----
commit a0887e5084d25911c1ddb5a151583bffe4b4ed29
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-21T12:09:51Z

    METAMODEL-99: Structure for a new Neo4j module.

commit a3aa7876caf77934ab4e57085743118488ea840a
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-21T15:04:18Z

    METAMODEL-99: First attempt to create and test the Neo4jDataContext.
    Throwing NPEs so far.

commit ffee9bc0760cfd1cb02bc276df4f86d2e47041da
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-24T12:35:01Z

    METAMODEL-99: Detecting all possible labels in the graph and creating
    SimpleTableDefs from it.

commit f87221b11f6dbea3fd829d8c70d622ee51deffe7
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-24T12:56:46Z

    METAMODEL-99: Adding missing license headers to classes.

commit 42c64a6bb87f7332b8e5aa08f20f1cf564d84431
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-24T13:17:31Z

    METAMODEL-99: Excluded banner dependencies.

commit 3ccc2456cdd6503ff934a6ab2eb08b1b91ae223c
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2014-11-24T14:32:28Z

    Reverting branch commits from the master

commit 1d7a8c2bca34a2257831e39029fcc255e035395b
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2015-01-30T10:35:37Z

    METAMODEL-109: CassandraDataContext throws IllegalArgumentException with
    proper message instead of NPE when keystore does not exist.

commit 8958cf0a56bba001efa7196b45bef8bca5fc1560
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2015-01-30T10:42:42Z

    Merge remote-tracking branch 'upstream/master'

commit f5b931a9c7b5b733925be1251c80cc191717dd38
Author: tomaszguzialek <tomasz.guzialek@humaninference.com>
Date:   2015-01-30T10:44:41Z

    Merge branch 'master' into METAMODEL-109

----


> 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