Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13745

(7.2.z) Legacy EJB client: Error getting response. java.lang.ArrayIndexOutOfBoundsException

    XMLWordPrintable

    Details

    • Target Release:
    • Affects Testing:
      Regression
    • QE Test Coverage:
      -

      Description

      Seen in our clustering failover tests for remote stateful EJBs - using legacy EJB client 3.x.
      Setup: 4 node cluster, one node at the time is shut down gracefully, while 2000 standalone clients keep calling the application.

      After perf19 was gracefully shut down (time 2017/11/08 11:34:06:783 EST), 3 clients logged this error message:

      2017/11/08 11:34:06:234 EST [ERROR][Runner - 639] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Error getting response. <java.lang.ArrayIndexOutOfBoundsException: 5>
              java.lang.ArrayIndexOutOfBoundsException: 5
      	at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:290)
      	at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:453)
      	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:206)
      	at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:185)
      	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:148)
      	at com.sun.proxy.$Proxy2.getSerialAndIncrement(Unknown Source)
      	at org.jboss.smartfrog.clustering.ejb3.StatefulSBProcessorFactoryImplLegacyClient$EJB3RequestProcessor.processRequest(StatefulSBProcessorFactoryImplLegacyClient.java:79)
      	at org.jboss.smartfrog.loaddriver.CompoundRequestProcessorFactoryImpl$CompoundRequestProcessor.processRequest(CompoundRequestProcessorFactoryImpl.java:52)
      	at org.jboss.smartfrog.loaddriver.Runner.run(Runner.java:103)
      	at java.lang.Thread.run(Thread.java:748)
      

      This error was seen only in one scenario (eap-7x-failover-legacy-ejb-ejbremote-shutdown-dist-sync) so far and seems to be very rare.

      Client log:
      http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/perflab_eap-7x-failover-legacy-ejb-ejbremote-shutdown-dist-sync/11/console-perf17/

        Attachments

          Activity

            People

            Assignee:
            rpelisse Romain Pelisse
            Reporter:
            mvinkler Michal Vinkler
            Tester:
            Tommaso Borgato Tommaso Borgato
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: