Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2973 ConcurrentReaderHashMap iterators returning null
  3. JBAS-2990

StatefulSessionInstanceCache has ConcurrentHashMap entrySet problem

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.4.CR2
    • None
    • EJB2
    • None

      protected void removePassivated(long maxLifeAfterPassivation)
      {
      StatefulSessionPersistenceManager store = m_container.getPersistenceManager();
      long now = System.currentTimeMillis();
      log.debug("removePassivated, now="now", maxLifeAfterPassivation="+maxLifeAfterPassivation);
      Iterator entries = passivatedIDs.entrySet().iterator();
      while (entries.hasNext())
      {
      Map.Entry entry = (Map.Entry) entries.next();
      Object key = entry.getKey();
      long passivationTime = ((Long) entry.getValue()).longValue();

      entry.getValue() could be null

              adrian.brock Adrian Brock (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: