You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/07/01 07:06:41 UTC

[jira] [Commented] (GORA-95) Catch incorrect mapping configurations and implement sufficient logging.

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

Hudson commented on GORA-95:
----------------------------

Integrated in goraOracle #6 (See [https://builds.apache.org/job/goraOracle/6/])
    commit to address GORA-95 and update to CHANGES.txt (Revision a4a2e99a6a05276bf04300c2b8f0381502ff2a73)

     Result = FAILURE
lewismc : 
Files : 
* gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraMapping.java
* CHANGES.txt

                
> Catch incorrect mapping configurations and implement sufficient logging.
> ------------------------------------------------------------------------
>
>                 Key: GORA-95
>                 URL: https://issues.apache.org/jira/browse/GORA-95
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-cassandra, testing
>    Affects Versions: 0.2
>            Reporter: Lewis John McGibbney
>             Fix For: 0.3
>
>         Attachments: GORA-95.patch, GORA-95-v2.patch
>
>
> Whilst (pulling my hair out) writing the cassandra test suite, after many failing tests and some debugging I noticed that, under many InvocationTargetException's, CassandraMapping#loadConfiguration() throws the following
> Caused by: java.lang.NullPointerException
> 	at org.apache.gora.cassandra.store.CassandraMapping.loadConfiguration(CassandraMapping.java:100)
> 	at org.apache.gora.cassandra.store.CassandraClient.init(CassandraClient.java:66)
> 	at org.apache.gora.cassandra.store.CassandraStore.<init>(CassandraStore.java:72)
> 	... 43 more
> when it cannot load the correct configuration from gora.properties. I know it is not great practice to put the while method in a try catch block so would be good to work towards a better solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira