jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown
Date Mon, 28 Aug 2006 08:18:22 GMT
TransientFileFactory may throw ConcurrentModificationException on shutdown

                 Key: JCR-549
                 URL: http://issues.apache.org/jira/browse/JCR-549
             Project: Jackrabbit
          Issue Type: Bug
          Components: core
    Affects Versions: 0.9, 1.0, 1.0.1
         Environment: svn: 437594
            Reporter: Marcel Reutegger
            Priority: Minor

When Jackrabbit is stopped the shutdown hook of the TransientFileFactory iterates over all
tracked temp files and deletes them. At the same time the reaper thread may still remove file
references from the list of tracked temp files. This may lead to a ConcurrentModificationException
in the shutdown hook:

	at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
	at java.util.AbstractList$Itr.next(Unknown Source)
	at org.apache.jackrabbit.util.TransientFileFactory$1.run(TransientFileFactory.java:86)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message