[
https://issues.apache.org/jira/browse/JCR-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739448#action_12739448
]
Thomas Mueller commented on JCR-2241:
-------------------------------------
Most likely the problem occurs because the node is deleted concurrently.
The GarbageCollector should probably catch and ignore this exception,
I will verify and fix this.
> Occasional GCConcurrentTest failure
> -----------------------------------
>
> Key: JCR-2241
> URL: https://issues.apache.org/jira/browse/JCR-2241
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Environment: Windows XP (SP3), Java 1.6.0_12-b04
> Reporter: Marcel Reutegger
> Assignee: Thomas Mueller
> Priority: Minor
>
> -------------------------------------------------------------------------------
> Test set: org.apache.jackrabbit.core.data.TestAll
> -------------------------------------------------------------------------------
> Tests run: 19, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.282 sec
> <<< FAILURE!
> testGC(org.apache.jackrabbit.core.data.GCConcurrentTest) Time elapsed: 0.578
> sec <<< ERROR!
> javax.jcr.InvalidItemStateException:
> 5fc4130b-aee4-4bef-b51d-21420d78f315/{}data: the item does not exist anymore
> at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:144)
> at
> org.apache.jackrabbit.core.PropertyImpl.getPropertyState(PropertyImpl.java:89)
> at
> org.apache.jackrabbit.core.PropertyImpl.getType(PropertyImpl.java:773)
> at
> org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:310)
> at
> org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:327)
> at
> org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:327)
> at
> org.apache.jackrabbit.core.data.GarbageCollector.scanNodes(GarbageCollector.java:193)
> at
> org.apache.jackrabbit.core.data.GarbageCollector.scan(GarbageCollector.java:177)
> at org.apache.jackrabbit.core.data.GCThread.run(GCThread.java:52)
> at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.