Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-364

MemStore.get fails with NPE when key is not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.5
    • gora-memstore

    Description

      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`

      Attachments

        1. GORA-364.patch
          2 kB
          Gerhard Gossen

        Activity

          People

            gerhard.gossen Gerhard Gossen
            gerhard.gossen Gerhard Gossen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: