Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-178

SimpleImmutableEntry doesn't support setValue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • 2.11.5
    • library
    • Security Level: Public
    • None

    Description

      java.lang.UnsupportedOperationException
      at java.util.AbstractMap$SimpleImmutableEntry.setValue(AbstractMap.java:759)
      at net.spy.memcached.KetamaNodeLocator.getReadonlyCopy(KetamaNodeLocator.java:142)
      at net.spy.memcached.MemcachedClient.getNodeLocator(MemcachedClient.java:271)

      From: https://stackoverflow.com/questions/12181872/why-java-treemap-entryset-returns-a-set-of-simpleimmutableentry - setValue() can not be used on these objects (try put() instead).

      Attachments

        For Gerrit Dashboard: SPY-178
        # Subject Branch Project Status CR V

        Activity

          People

            daschl Michael Nitschinger
            malarky Chris Malarky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty