gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-364) MemStore.get fails with NPE when key is not set
Date Wed, 06 Aug 2014 02:36:12 GMT

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

Hudson commented on GORA-364:
-----------------------------

UNSTABLE: Integrated in gora-trunk #1165 (See [https://builds.apache.org/job/gora-trunk/1165/])
GORA-364 MemStore.get fails with NPE when key is not set (lewis.j.mcgibbney: rev 89c025d2f9e4ba19378eb15537104c8775bf2474)
* gora-core/src/main/java/org/apache/gora/memory/store/MemStore.java
* CHANGES.txt
* gora-core/src/test/java/org/apache/gora/memory/store/MemStoreTest.java


> MemStore.get fails with NPE when key is not set
> -----------------------------------------------
>
>                 Key: GORA-364
>                 URL: https://issues.apache.org/jira/browse/GORA-364
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-memstore
>    Affects Versions: 0.4
>            Reporter: Gerhard Gossen
>            Assignee: Gerhard Gossen
>              Labels: patch
>             Fix For: 0.5
>
>         Attachments: GORA-364.patch
>
>
> Steps to reproduce:
> - Create a new MemStore object (or use an exisiting object)
> - call `.get(String)` with a key for which no corresponding object exist
> Expected behavior:
> - Return value is `null` (as per JavaDoc)
> Actual behavior:
> - throws NullPointerException in `getPersistent`



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message