[gatein-issues] [JBoss JIRA] Commented: (GTNWSRP-84) ConcurrentModificationException when saving the session in the JCRPersister

Matt Wringe (JIRA) jira-events at lists.jboss.org
Mon Nov 8 13:42:01 EST 2010


    [ https://jira.jboss.org/browse/GTNWSRP-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561969#action_12561969 ] 

Matt Wringe commented on GTNWSRP-84:
------------------------------------

Looking into this a bit more, if you load one instance of the E2 Oracle portlet on the page (ie the Lotto number portlet) and reload the page, then it works. If you load one of the portlets on a page and continually hit reload (ie not letting it fully load between hits), then this error can also be reproduced in this manner (it doesn't occur all the time, but will happen occasionally).

> ConcurrentModificationException when saving the session in the JCRPersister
> ---------------------------------------------------------------------------
>
>                 Key: GTNWSRP-84
>                 URL: https://jira.jboss.org/browse/GTNWSRP-84
>             Project: GateIn WSRP
>          Issue Type: Bug
>    Affects Versions: 2.0.0-Beta01
>            Reporter: Matt Wringe
>            Assignee: Chris Laprun
>             Fix For: 2.0.0-CR02
>
>
> Sometimes when saving the session in the JCRPersister, the following error will occur:
> 09:52:38,213 ERROR [portal:UIPortletActionListener] Problem while serving resource for the portlet: oracle.E:2:default
> java.util.ConcurrentModificationException
> 	at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
> 	at java.util.AbstractList$Itr.next(AbstractList.java:343)
> 	at org.exoplatform.services.jcr.impl.core.SessionDataManager.validate(SessionDataManager.java:1371)
> 	at org.exoplatform.services.jcr.impl.core.SessionDataManager.commit(SessionDataManager.java:1282)
> 	at org.exoplatform.services.jcr.impl.core.ItemImpl.save(ItemImpl.java:678)
> 	at org.exoplatform.services.jcr.impl.core.SessionImpl.save(SessionImpl.java:934)
> 	at org.gatein.portal.wsrp.state.JCRPersister$WSRPSessionLifeCycle.save(JCRPersister.java:166)
> 	at org.chromattic.core.jcr.SessionWrapperImpl.save(SessionWrapperImpl.java:263)
> 	at org.chromattic.core.DomainSessionImpl._save(DomainSessionImpl.java:583)
> 	at org.chromattic.core.DomainSession.save(DomainSession.java:146)
> 	at org.chromattic.core.api.ChromatticSessionImpl.save(ChromatticSessionImpl.java:223)
> 	at org.gatein.portal.wsrp.state.JCRPersister.closeSession(JCRPersister.java:93)
> 	at org.gatein.portal.wsrp.state.consumer.JCRConsumerRegistry.update(JCRConsumerRegistry.java:116)
> 	at org.gatein.wsrp.consumer.registry.AbstractConsumerRegistry.updateProducerInfo(AbstractConsumerRegistry.java:249)
> 	at org.gatein.wsrp.consumer.ProducerInfo.refreshInfo(ProducerInfo.java:529)
> 	at org.gatein.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:474)
> 	at org.gatein.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:340)
> 	at org.gatein.wsrp.consumer.WSRPConsumerImpl.refreshProducerInfo(WSRPConsumerImpl.java:671)
> 	at org.gatein.wsrp.consumer.WSRPConsumerImpl.getMarkupService(WSRPConsumerImpl.java:648)
> 	at org.gatein.wsrp.consumer.handlers.InvocationDispatcher.dispatchAndHandle(InvocationDispatcher.java:100)
> 	at org.gatein.wsrp.consumer.WSRPConsumerImpl.invoke(WSRPConsumerImpl.java:196)
> 	at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:151)
> 	at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:211)
> 	at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:926)
> 	at org.exoplatform.portal.webui.application.UIPortletActionListener$ServeResourceActionListener.execute(UIPortletActionListener.java:356)
>         ...

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

        


More information about the gatein-issues mailing list