Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-707

stats logic NPE in NAKACK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.6.3, 2.7
    • 2.6.1
    • None

      In the code for NAKACK, the first packet which is recorded as part of the stats for an address throws NPE.

      StatsEntry entry=map.get(key);
      if(entry == null)

      { entry = new StatsEntry(); entry = map.putIfAbsent(key, entry); // ^^^^ this can return null if key does not exist }

      entry.xmit_reqs+=req;

              rhn-engineering-bban Bela Ban
              legacy_external_user Legacy User (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: