You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Vivek Kumar (JIRA)" <je...@portals.apache.org> on 2009/02/20 16:52:02 UTC
[jira] Created: (JS2-931) ConcurrentModificationException Exception
in SessionNavigationalState
ConcurrentModificationException Exception in SessionNavigationalState
---------------------------------------------------------------------
Key: JS2-931
URL: https://issues.apache.org/jira/browse/JS2-931
Project: Jetspeed 2
Issue Type: Bug
Components: Container
Affects Versions: 2.1.2, 2.1.3, 2.2-M1
Environment: Jetspeed 2.1.2
Reporter: Vivek Kumar
Assignee: Vivek Kumar
Priority: Minor
This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Updated: (JS2-931) ConcurrentModificationException Exception
in SessionNavigationalState
Posted by "Joachim Müller (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joachim Müller updated JS2-931:
-------------------------------
Attachment: JS2-931-2.1.2-POSTRELEASE.patch.txt
JS2-931-2.1.3-POSTRELEASE.patch.txt
JS2-931.patch.txt
The attached patches address the problem. For the trunk, a java.util.concurrent.ConcurrentHashMap is used, the older versions must use Collections.synchronizedMap(..) with synchronizing the iterations :-(.
Please review.
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
> Attachments: JS2-931-2.1.2-POSTRELEASE.patch.txt, JS2-931-2.1.3-POSTRELEASE.patch.txt, JS2-931.patch.txt
>
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Resolved: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vivek Kumar resolved JS2-931.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.2
2.1.4
Patch applied
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
> Fix For: 2.1.4, 2.2
>
> Attachments: JS2-931-2.1.2-POSTRELEASE.patch.txt, JS2-931-2.1.3-POSTRELEASE.patch.txt, JS2-931.patch.txt
>
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676761#action_12676761 ]
Ate Douma commented on JS2-931:
-------------------------------
Yes, we encountered this on a Websphere 6.1.0.9 installation using the latest 2.1.2-postrelease branch with parallel rendering enabled.
Stacktrace:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:842)
at java.util.HashMap$KeyIterator.next(HashMap.java:878)
at org.apache.jetspeed.container.state.impl.PortletWindowSessionNavigationalStates.sync(PortletWindowSessionNavigationalStates.java:235)
at org.apache.jetspeed.container.state.impl.SessionNavigationalState.sync(SessionNavigationalState.java:123)
at org.apache.jetspeed.container.state.impl.SessionFullExtendedNavigationalState.sync(SessionFullExtendedNavigationalState.java:84)
at org.apache.jetspeed.container.ContainerValve.invoke(ContainerValve.java:76)
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679403#action_12679403 ]
David Sean Taylor commented on JS2-931:
---------------------------------------
> Can we use JAVA5 specifics for the trunk?
yes
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
> Fix For: 2.1.4, 2.2
>
> Attachments: JS2-931-2.1.2-POSTRELEASE.patch.txt, JS2-931-2.1.3-POSTRELEASE.patch.txt, JS2-931.patch.txt
>
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "Joachim Müller (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676743#action_12676743 ]
Joachim Müller commented on JS2-931:
------------------------------------
Do you have an exception trace, to quickly narrow the problem down?
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "Vivek Kumar (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677394#action_12677394 ]
Vivek Kumar commented on JS2-931:
---------------------------------
Thanks Joachim
For that patch, we will review and apply it.
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
> Attachments: JS2-931-2.1.2-POSTRELEASE.patch.txt, JS2-931-2.1.3-POSTRELEASE.patch.txt, JS2-931.patch.txt
>
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Commented: (JS2-931) ConcurrentModificationException
Exception in SessionNavigationalState
Posted by "Joachim Müller (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679330#action_12679330 ]
Joachim Müller commented on JS2-931:
------------------------------------
Thanks Vivek for applying the patch. I suggest to use a java.util.concurrent.ConcurrentHashMap for the trunk because the performance is suppose to be much better than the Collections.synchronizedMap solution. Can we use JAVA5 specifics for the trunk?
> ConcurrentModificationException Exception in SessionNavigationalState
> ---------------------------------------------------------------------
>
> Key: JS2-931
> URL: https://issues.apache.org/jira/browse/JS2-931
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Container
> Affects Versions: 2.1.2, 2.1.3, 2.2-M1
> Environment: Jetspeed 2.1.2
> Reporter: Vivek Kumar
> Assignee: Vivek Kumar
> Priority: Minor
> Fix For: 2.1.4, 2.2
>
> Attachments: JS2-931-2.1.2-POSTRELEASE.patch.txt, JS2-931-2.1.3-POSTRELEASE.patch.txt, JS2-931.patch.txt
>
>
> This issue can only be reproduced if a user very rapidly interacts with the same portal page without waiting for the previous interaction to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org