You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Henry Saputra (JIRA)" <ji...@apache.org> on 2014/08/04 20:02:17 UTC

[jira] [Commented] (GORA-364) MemStore.get fails with NPE when key is not set

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

Henry Saputra commented on GORA-364:
------------------------------------

+1 good catch [~gerhard.gossen]

> 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
>              Labels: patch
>         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)