Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10226

Weld transient NPE on EAP cluster failover

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • EAP 6.0.0, EAP 6.0.1 ER 2
    • Clustering
    • EC2 large instances, RHEL6, S3_PING discovery, tcp stack

    • High
    • NEW

    Description

      I'm running a soak test for EAP clustering failover. In my run overnight I see occasional exceptions when a server is killed and another one needs to take over. The application I use for testing is the simple cluterbench. WELD-831 seems to be about the same exact thing but it was closed as out of date.
      It seems hard to reproduce because it needed a couple of hours to manifest.

      02:08:54,025 TRACE [org.infinispan.cacheviews.CacheViewsManagerImpl] (CacheViewTrigger,ip-10-32-39-32/ejb) Woke up, shouldRecoverViews=false
      02:08:54,601 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (ajp-ec2-54-242-55-24.compute-1.amazonaws.com/10.32.39.32:8009-11) Exception sending request initialized lifecycle event to listener instance of class org.jboss.weld.servlet.WeldListener: java.lang.NullPointerException
              at org.jboss.as.web.session.ClusteredSession.update(ClusteredSession.java:979) [jboss-as-web-7.1.3.Final-redhat-2.jar:7.1.3.Final-redhat-2]
              at org.jboss.as.web.session.DistributableSessionManager.loadSession(DistributableSessionManager.java:1377) [jboss-as-web-7.1.3.Final-redhat-2.jar:7.1.3.Final-redhat-2]
              at org.jboss.as.web.session.DistributableSessionManager.findSession(DistributableSessionManager.java:673) [jboss-as-web-7.1.3.Final-redhat-2.jar:7.1.3.Final-redhat-2]
              at org.jboss.as.web.session.DistributableSessionManager.findSession(DistributableSessionManager.java:84) [jboss-as-web-7.1.3.Final-redhat-2.jar:7.1.3.Final-redhat-2]
              at org.apache.catalina.connector.Request.doGetSession(Request.java:2618) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.catalina.connector.Request.getSession(Request.java:2375) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:841) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.jboss.weld.context.beanstore.http.LazySessionBeanStore.getSession(LazySessionBeanStore.java:72) [weld-core-1.1.9.Final-redhat-1.jar:1.1.9.Final-redhat-1]
              at org.jboss.weld.context.beanstore.http.LazySessionBeanStore.<init>(LazySessionBeanStore.java:58) [weld-core-1.1.9.Final-redhat-1.jar:1.1.9.Final-redhat-1]
              at org.jboss.weld.context.http.HttpSessionContextImpl.associate(HttpSessionContextImpl.java:31) [weld-core-1.1.9.Final-redhat-1.jar:1.1.9.Final-redhat-1]
              at org.jboss.weld.context.http.HttpSessionContextImpl.associate(HttpSessionContextImpl.java:16) [weld-core-1.1.9.Final-redhat-1.jar:1.1.9.Final-redhat-1]
              at org.jboss.weld.servlet.WeldListener.requestInitialized(WeldListener.java:134) [weld-core-1.1.9.Final-redhat-1.jar:1.1.9.Final-redhat-1]
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:453) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.17.Final-redhat-1.jar:]
              at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
      
      02:08:54,818 INFO  [org.jboss.as.clustering] (Incoming-6,null) JBAS010226: New cluster view for partition web: 370 (org.jboss.as.clustering.impl.CoreGroupCommunicationService$GroupView@59ea632e delta: -1, merge: false)

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              akostadi1@redhat.com Aleksandar Kostadinov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: