click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Commented: (CLK-712) ConcurrentModificationException during rendering of Css/JsImport element.
Date Fri, 16 Jul 2010 01:49:49 GMT


Bob Schellink commented on CLK-712:

Form, FieldSet and PickList has similar code which we should cleanup as well.

> ConcurrentModificationException during rendering of Css/JsImport element.
> -------------------------------------------------------------------------
>                 Key: CLK-712
>                 URL:
>             Project: Click
>          Issue Type: Bug
>          Components: core
>            Reporter: Finn Bock
>            Priority: Critical
> In Css/JsImport.render(), the src/href attribute is temporarily removed:
>         // Temporarily remove href attribute while other attributes are rendered
>         setAttribute("href", null);
>         appendAttributes(buffer);
>         // Restore href attribute
>         setAttribute("href", href);
> This cause incorrect rendering and ConcurrentModificationException when other threads
rendering the same element. The sharing between threads is common for the CSS & JS elements
added to a cached menu.
> It is quite easy to reproduce: Just let jmeter hit localhost:8080/click-examples/home.htm
about 40.000 times. After the test is finished use a browser to show the examples homepage.
For me, the CSS and JS import elements related to menu is missing or rendered incorrectly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message