cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-398) ConcurrentModificationException in Cocoon.debug()
Date Sun, 30 Apr 2006 22:24:37 GMT
     [ http://issues.apache.org/jira/browse/COCOON-398?page=all ]

Ralph Goers updated COCOON-398:
-------------------------------

    Bugzilla Id:   (was: 12139)
        Version: 2.1.9

I just encountered this error in 2.1.9.  Looking at the fix I don't see how it can work. 
There is no guarantee that whatever is modifying the session attributes is also synchronizing
on the session.  The only thing that can be done is to wrap this code in a try catch and just
deal with the ConcurrentModificationException when it occurs.

> ConcurrentModificationException in Cocoon.debug()
> -------------------------------------------------
>
>          Key: COCOON-398
>          URL: http://issues.apache.org/jira/browse/COCOON-398
>      Project: Cocoon
>         Type: Bug

>   Components: * Cocoon Core
>     Versions: 2.0.3, 2.1.9
>  Environment: Operating System: other
> Platform: Sun
>     Reporter: Artur Bialecki
>     Assignee: Cocoon Developers Team

>
> I get ConcurrentModificationException when loading a page with
> multiple frames and debug truned on.
> java.util.ConcurrentModificationExeption
>   at java.util.HashMap$HashIterator.next(HashMap.java:731)
>   at java.util.AbstractMap.toString(AbstractMap.java:561)
>   at java.lang.String.valueOf(String.java:1942)
>   at java.lang.StringBuffer.append(StringBuffer.java:365)
>   at org.apache.cocoon.Cocoon.debug(Cocoon.java:545)
>   at org.apache.cocoon.Cocoon.process(Cocoon.java:571)
>   at org.apache.cocoon.CocoonServlet.service(CocoonServlet.java:1013)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   ...

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


Mime
View raw message