Uploaded image for project: 'Seam Remoting'
  1. Seam Remoting
  2. SEAMREMOTING-30

remoting-model example causes ConcurrentModificationException

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 3.0.0.CR3
    • Fix Version/s: 3.0.0.Final
    • Labels:
      None
    • Environment:

      Seam 3.0.0.CR3 (Seam Remoting 3.0.0.CR3)

      Description

      To reproduce:

      1.) deploy the remoting-model example
      2.) visit http://localhost:8080/remoting-model
      3.) Click on "Shane Bryzak"
      4.) Click on "Jozef Hartinger"
      5.) Click on "Load addresses"
      6.) Click on "Delete address"
      7.) Click on "Apply changes"
      8.) The exception below is logged in the server log

      This might be a problem in the example itself / seam-conversation / weld.

      10:33:15,116 ERROR [org.jboss.seam.remoting.Remoting] Error: java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) [:1.6.0_23]
              at java.util.HashMap$EntryIterator.next(HashMap.java:834) [:1.6.0_23]
              at java.util.HashMap$EntryIterator.next(HashMap.java:832) [:1.6.0_23]
              at org.jboss.weld.context.AbstractConversationContext.deactivate(AbstractConversationContext.java:250) [:6.0.0.Final]
              at org.jboss.seam.conversation.plugins.weld.WeldHttpSeamConversationContext.doDeactivate(WeldHttpSeamConversationContext.java:70) [:3.0.0.CR1]
              at org.jboss.seam.conversation.api.AbstractSeamConversationContext.deactivate(AbstractSeamConversationContext.java:70) [:3.0.0.CR1]
              at org.jboss.seam.remoting.AbstractRequestHandler.deactivateConversationContext(AbstractRequestHandler.java:27) [:3.0.0.CR3]
              at org.jboss.seam.remoting.model.ModelHandler.handle(ModelHandler.java:114) [:3.0.0.CR3]
              at org.jboss.seam.remoting.Remoting.service(Remoting.java:297) [:3.0.0.CR3]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67) [:6.0.0.Final]
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
      
      10:33:15,125 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/remoting-model]] Exception sending request destroyed lifecycle event to listener instance of class org.jboss.weld.servlet.WeldListener: java.lang.IllegalStateException: Context is not active
              at org.jboss.weld.context.AbstractConversationContext.deactivate(AbstractConversationContext.java:263) [:6.0.0.Final]
              at org.jboss.weld.servlet.WeldListener.requestDestroyed(WeldListener.java:125) [:6.0.0.Final]
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:204) [:6.0.0.Final]
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
              at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
              at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
              at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  meetoblivion John Ament
                  Reporter:
                  jharting Jozef Hartinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: