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

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: