[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2086) ConcurrentModificationException in Pages.wildcardViewIds

Przemyslaw Jaskierski (JIRA) jira-events at lists.jboss.org
Thu Mar 13 17:18:57 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2086?page=comments#action_12402815 ] 
            
Przemyslaw Jaskierski commented on JBSEAM-2086:
-----------------------------------------------

Pete and Norman,

Sorry for "small" delay in response :).

I put some load on Seam 2.0.x-snapshot from around 12.02.2008.

First of all, Norman, thanks for this explanation - I saw some xml heavy lifting around Pages.java in my profiler some time ago, but left it for later investigation. So, with debug mode disabled hot deploy of pages.xml is disabled and this file is not parsed anymore, right?

Back to the business:

1. With debug mode disabled, no concurrency and ArrayOutOfBound exceptions under heavy load. Everything looks fine.

2. With debug enabled I got two kind of exceptions:

* 2008-03-13 21:30:05,800 ERROR SeamPhaseListener.afterPhase():187
  uncaught exception
java.util.ConcurrentModificationException
	at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
	at java.util.TreeMap$KeyIterator.next(TreeMap.java:1152)
	at org.jboss.seam.navigation.Pages.createPageStack(Pages.java:233)
	at org.jboss.seam.navigation.Pages.getPageStack(Pages.java:220)
	at org.jboss.seam.navigation.Pages.storeRequestStringValuesInPageContext(Pages.java:708)
	at org.jboss.seam.navigation.Pages.postRestore(Pages.java:364)
	at org.jboss.seam.jsf.SeamPhaseListener.postRestorePage(SeamPhaseListener.java:533)
	at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:379)
	at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:216)
	at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:182)
	at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
	at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)


and  ArrayOutOfBoundExceptions mentioned here:

JBSEAM-2359

So consider please closing JBSEAM-2359 if such result is ok.


Thanks for your time,
Przemek.







> ConcurrentModificationException in Pages.wildcardViewIds
> --------------------------------------------------------
>
>                 Key: JBSEAM-2086
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2086
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.CR2
>            Reporter: Pete Muir
>            Priority: Critical
>             Fix For: 2.0.2.GA
>
>


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

        



More information about the seam-issues mailing list