[ 
https://issues.apache.org/jira/browse/ISIS-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Haywood updated ISIS-2004:
------------------------------
      Priority: Trivial  (was: Major)
    Issue Type: Bug  (was: New Feature)

> Concurrent Modification Exception in grid service
> -------------------------------------------------
>
>                 Key: ISIS-2004
>                 URL: https://issues.apache.org/jira/browse/ISIS-2004
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.16.2
>            Reporter: Dan Haywood
>            Priority: Trivial
>             Fix For: 1.18.0
>
>
> This occurred when invoking "latestFastnetImportLog" within Estatio (having 
> just restarted, in estatio-test - prototype mode)
> {code}
> 11:20:44,677 [RequestCycleExtra             ] Handling the following exception
> org.apache.wicket.WicketRuntimeException: Error attaching this container for 
> rendering: [RepeatingViewWithDynamicallyVisibleContent [Component id = 
> tabGroups]]
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1837)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at 
> org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:143)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at 
> org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:143)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at 
> org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:143)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
>       at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
>       at org.apache.wicket.Page.onBeforeRender(Page.java:801)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.Component.internalPrepareForRender(Component.java:2236)
>       at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)
>       at org.apache.wicket.Component.render(Component.java:2325)
>       at org.apache.wicket.Page.renderPage(Page.java:1018)
>       at 
> org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
>       at 
> org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:195)
>       at 
> org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
>       at 
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
>       at 
> org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
>       at 
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
>       at 
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
>       at 
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
>       at 
> org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
>       at 
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
>       at 
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>       at 
> org.apache.isis.core.webapp.diagnostics.IsisLogOnExceptionFilter.doFilter(IsisLogOnExceptionFilter.java:52)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>       at org.togglz.servlet.TogglzFilter.doFilter(TogglzFilter.java:100)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>       at 
> org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
>       at 
> org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
>       at 
> org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
>       at 
> org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
>       at 
> org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
>       at 
> org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
>       at 
> org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>       at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
>       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>       at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
>       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>       at 
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
>       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
>       at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
>       at 
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
>       at 
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>       at 
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
>       at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
>       at 
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at 
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>       at java.lang.Thread.run(Thread.java:748)
> Caused by: java.util.ConcurrentModificationException
>       at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437)
>       at java.util.HashMap$ValueIterator.next(HashMap.java:1466)
>       at java.util.AbstractCollection.toArray(AbstractCollection.java:141)
>       at java.util.ArrayList.<init>(ArrayList.java:177)
>       at 
> org.apache.isis.core.metamodel.facetapi.FacetUtil.getFacets(FacetUtil.java:122)
>       at 
> org.apache.isis.core.metamodel.facetapi.FacetHolderImpl.getFacets(FacetHolderImpl.java:104)
>       at 
> org.apache.isis.core.metamodel.specloader.specimpl.ObjectMemberAbstract.getFacets(ObjectMemberAbstract.java:155)
>       at 
> org.apache.isis.core.metamodel.facetapi.FacetUtil.addOrReplaceFacet(FacetUtil.java:41)
>       at 
> org.apache.isis.core.metamodel.services.grid.GridSystemServiceAbstract$1.visit(GridSystemServiceAbstract.java:320)
>       at 
> org.apache.isis.applib.layout.grid.GridAbstract.traverseFieldSets(GridAbstract.java:124)
>       at 
> org.apache.isis.applib.layout.grid.bootstrap3.BS3Grid.traverseCols(BS3Grid.java:191)
>       at 
> org.apache.isis.applib.layout.grid.bootstrap3.BS3Grid.traverseRows(BS3Grid.java:174)
>       at 
> org.apache.isis.applib.layout.grid.bootstrap3.BS3Grid.visit(BS3Grid.java:163)
>       at 
> org.apache.isis.core.metamodel.services.grid.GridSystemServiceAbstract.overwriteFacets(GridSystemServiceAbstract.java:216)
>       at 
> org.apache.isis.core.metamodel.services.grid.GridSystemServiceAbstract.normalize(GridSystemServiceAbstract.java:169)
>       at 
> org.apache.isis.core.metamodel.services.grid.GridServiceDefault.normalize(GridServiceDefault.java:102)
>       at 
> org.apache.isis.core.metamodel.facets.object.grid.GridFacetDefault.load(GridFacetDefault.java:75)
>       at 
> org.apache.isis.core.metamodel.facets.object.grid.GridFacetDefault.getGrid(GridFacetDefault.java:65)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collectioncontents.ajaxtable.CollectionContentsAsAjaxTablePanel.addPropertyColumnsIfRequired(CollectionContentsAsAjaxTablePanel.java:170)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collectioncontents.ajaxtable.CollectionContentsAsAjaxTablePanel.buildGui(CollectionContentsAsAjaxTablePanel.java:102)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collectioncontents.ajaxtable.CollectionContentsAsAjaxTablePanel.onInitialize(CollectionContentsAsAjaxTablePanel.java:80)
>       at org.apache.wicket.Component.fireInitialize(Component.java:878)
>       at 
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1070)
>       at 
> org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:1047)
>       at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:241)
>       at 
> org.apache.wicket.MarkupContainer.addOrReplace(MarkupContainer.java:265)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collectioncontents.multiple.CollectionContentsMultipleViewsPanel.addUnderlyingViews(CollectionContentsMultipleViewsPanel.java:118)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collectioncontents.multiple.CollectionContentsMultipleViewsPanel.onInitialize(CollectionContentsMultipleViewsPanel.java:87)
>       at org.apache.wicket.Component.fireInitialize(Component.java:878)
>       at 
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1070)
>       at 
> org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:1047)
>       at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:241)
>       at 
> org.apache.wicket.MarkupContainer.addOrReplace(MarkupContainer.java:265)
>       at 
> org.apache.isis.viewer.wicket.viewer.registries.components.ComponentFactoryRegistryDefault.addOrReplaceComponent(ComponentFactoryRegistryDefault.java:107)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collection.CollectionPanel.buildGui(CollectionPanel.java:105)
>       at 
> org.apache.isis.viewer.wicket.ui.components.collection.CollectionPanel.onInitialize(CollectionPanel.java:101)
>       at org.apache.wicket.Component.fireInitialize(Component.java:878)
>       at 
> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:1076)
>       at 
> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:1072)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192)
>       at 
> org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:983)
>       at 
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1071)
>       at 
> org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:1047)
>       at org.apache.wicket.MarkupContainer.add(MarkupContainer.java:241)
>       at 
> org.apache.isis.viewer.wicket.ui.components.entity.collection.EntityCollectionPanel.onInitialize(EntityCollectionPanel.java:94)
>       at org.apache.wicket.Component.fireInitialize(Component.java:878)
>       at 
> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:1076)
>       at 
> org.apache.wicket.MarkupContainer$3.component(MarkupContainer.java:1072)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:144)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:162)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:123)
>       at org.apache.wicket.util.visit.Visits.visitChildren(Visits.java:192)
>       at 
> org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:983)
>       at 
> org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1071)
>       at 
> org.apache.wicket.MarkupContainer.addedComponent(MarkupContainer.java:1047)
>       at org.apache.wicket.MarkupContainer.replace(MarkupContainer.java:855)
>       at 
> org.apache.wicket.MarkupContainer.addOrReplace(MarkupContainer.java:269)
>       at 
> org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setCurrentTab(TabbedPanel.java:439)
>       at 
> org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab(TabbedPanel.java:397)
>       at 
> org.apache.isis.viewer.wicket.ui.components.layout.bs3.tabs.TabGroupPanel.setSelectedTab(TabGroupPanel.java:102)
>       at 
> org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.onBeforeRender(TabbedPanel.java:268)
>       at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
>       at org.apache.wicket.Component.beforeRender(Component.java:1018)
>       at 
> org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825)
> 
>       ... 92 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to