Hydra Cache
  1. Hydra Cache
  2. HYDRACACHE-60

NPE thrown when try to remove nodes with an empty partition

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0RC1
    • Fix Version/s: 1.0 GA
    • Component/s: Client
    • Labels:
      None
    • Number of attachments :
      0

      Description

      java.lang.NullPointerException
      at org.hydracache.data.hashing.HashingUtils.getKeyBytes(HashingUtils.java:42)
      at org.hydracache.data.hashing.HashingUtils.computeMd5(HashingUtils.java:64)
      at org.hydracache.data.hashing.KetamaBasedHashFunction.hash(KetamaBasedHashFunction.java:37)
      at org.hydracache.data.partitioning.ConsistentHashNodePartition.remove(ConsistentHashNodePartition.java:162)
      at org.hydracache.client.partition.Messenger.deactivateNode(Messenger.java:90)
      at org.hydracache.client.partition.Messenger.send(Messenger.java:80)
      at org.hydracache.client.partition.Messenger.sendMessage(Messenger.java:61)
      at org.hydracache.client.partition.PartitionAwareClient.makeGetQuery(PartitionAwareClient.java:291)
      at org.hydracache.client.partition.PartitionAwareClient.listNodes(PartitionAwareClient.java:266)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Nick Zhu
            Reporter:
            Nick Zhu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: