You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Saminda Wijeratne (JIRA)" <ji...@apache.org> on 2012/04/26 22:52:50 UTC
[jira] [Commented] (AIRAVATA-400) ConcurrentModificationException
during using RegistryAPI
[ https://issues.apache.org/jira/browse/AIRAVATA-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263131#comment-13263131 ]
Saminda Wijeratne commented on AIRAVATA-400:
--------------------------------------------
Yes... This has something to do with session management & caching I did in JCRRegistry class. Will it be ok if we could disable that for now so that we can revisit the problem later? For remote access of the registry it'll be a little slower, but exceptionless.
> ConcurrentModificationException during using RegistryAPI
> --------------------------------------------------------
>
> Key: AIRAVATA-400
> URL: https://issues.apache.org/jira/browse/AIRAVATA-400
> Project: Airavata
> Issue Type: Bug
> Components: Registry API
> Environment: mac
> Reporter: Lahiru Gunathilake
> Fix For: 0.4-INCUBATING
>
>
> When I run the client code to get workflow status sometimes I get following error.
> java.util.ConcurrentModificationException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
> at java.util.HashMap$KeyIterator.next(HashMap.java:828)
> at org.apache.airavata.common.registry.api.impl.JCRRegistry$1.onEvent(JCRRegistry.java:122)
> at org.apache.jackrabbit.rmi.observation.ClientEventPoll.run(ClientEventPoll.java:224)
> This is intermittent .. ! But we need to fix this if this is somethign to do with our implementation.
> Lahiru
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira