You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/08/28 10:18:22 UTC

[jira] Created: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

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:

java.util.ConcurrentModificationException
	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

        

[jira] Assigned: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-549?page=all ]

Stefan Guggisberg reassigned JCR-549:
-------------------------------------

    Assignee: Stefan Guggisberg

> 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: 1.0, 1.0.1, 0.9
>         Environment: svn: 437594
>            Reporter: Marcel Reutegger
>         Assigned To: Stefan Guggisberg
>            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:
> java.util.ConcurrentModificationException
> 	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

        

[jira] Closed: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting closed JCR-549.
-----------------------------


> TransientFileFactory may throw ConcurrentModificationException on shutdown
> --------------------------------------------------------------------------
>
>                 Key: JCR-549
>                 URL: https://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
>            Assignee: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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:
> java.util.ConcurrentModificationException
> 	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.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting closed JCR-549.
-----------------------------


> TransientFileFactory may throw ConcurrentModificationException on shutdown
> --------------------------------------------------------------------------
>
>                 Key: JCR-549
>                 URL: https://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
>         Assigned To: Stefan Guggisberg
>            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:
> java.util.ConcurrentModificationException
> 	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.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting reopened JCR-549:
-------------------------------


> TransientFileFactory may throw ConcurrentModificationException on shutdown
> --------------------------------------------------------------------------
>
>                 Key: JCR-549
>                 URL: https://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
>         Assigned To: Stefan Guggisberg
>            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:
> java.util.ConcurrentModificationException
> 	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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-549?page=all ]

Stefan Guggisberg resolved JCR-549.
-----------------------------------

    Resolution: Fixed

fixed in svn rev. 438504

> 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: 1.0, 1.0.1, 0.9
>         Environment: svn: 437594
>            Reporter: Marcel Reutegger
>         Assigned To: Stefan Guggisberg
>            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:
> java.util.ConcurrentModificationException
> 	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

        

[jira] Resolved: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-549.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

> TransientFileFactory may throw ConcurrentModificationException on shutdown
> --------------------------------------------------------------------------
>
>                 Key: JCR-549
>                 URL: https://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
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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:
> java.util.ConcurrentModificationException
> 	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.
-
You can reply to this email to add a comment to the issue online.