[ 
https://issues.apache.org/jira/browse/WICKET-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306889#comment-15306889
 ] 

Sven Meier commented on WICKET-6167:
------------------------------------

Your BasePage is sharing a component between all instances:

{code}
    public BasePage(final PageParameters parameters) {
        body.addOrReplace(SyncopeConsoleSession.get().getNotificationPanel());
    }
{code}

SyncopeConsoleSession:

{code}
    public NotificationPanel getNotificationPanel() {
        if (notificationPanel == null) {
            notificationPanel = new NotificationPanel(Constants.FEEDBACK);
            notificationPanel.setOutputMarkupId(true);
        }
        return notificationPanel;
    }
{code}

This is a recipe for exceptions, caused by modifications of a 
WebMarkupContainer's children while the page is being serialized.

> Random ConcurrentModificationException since upgrade to 7.3.0
> -------------------------------------------------------------
>
>                 Key: WICKET-6167
>                 URL: https://issues.apache.org/jira/browse/WICKET-6167
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-native-websocket
>    Affects Versions: 7.3.0
>         Environment: Apache Syncope 2.0.0-SNAPSHOT
>            Reporter: Francesco Chicchiriccò
>            Assignee: Martin Grigorov
>
> As [reported in mailing 
> list|https://lists.apache.org/thread.html/Zqmev2wqdxnjxya] we randomly see 
> exceptions (see [an example|https://paste.apache.org/Q7Jy]) in Apache Syncope 
> admin console logs after upgrading from Wicket 7.2.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to