You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Lahiru Gunathilake (JIRA)" <ji...@apache.org> on 2012/04/26 21:01:29 UTC

[jira] [Created] (AIRAVATA-400) ConcurrentModificationException during using RegistryAPI

Lahiru Gunathilake created AIRAVATA-400:
-------------------------------------------

             Summary: 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

        

[jira] [Commented] (AIRAVATA-400) ConcurrentModificationException during using RegistryAPI

Posted by "Saminda Wijeratne (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Assigned] (AIRAVATA-400) ConcurrentModificationException during using RegistryAPI

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

Saminda Wijeratne reassigned AIRAVATA-400:
------------------------------------------

    Assignee: Saminda Wijeratne
    
> 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
>            Assignee: Saminda Wijeratne
>             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

        

[jira] [Updated] (AIRAVATA-400) ConcurrentModificationException during using RegistryAPI

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

Suresh Marru updated AIRAVATA-400:
----------------------------------

    Fix Version/s:     (was: 0.4-INCUBATING)
                   0.5-INCUBATING
    
> 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
>            Assignee: Saminda Wijeratne
>             Fix For: 0.5-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

        

[jira] [Commented] (AIRAVATA-400) ConcurrentModificationException during using RegistryAPI

Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AIRAVATA-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263294#comment-13263294 ] 

Heshan Suriyaarachchi commented on AIRAVATA-400:
------------------------------------------------

This is the same intermittent issue (AIRAVATA-379) that I came across.
                
> 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