ArrayIndexOutOfBoundsException in WSRP Producer

Solution Verified - Updated -

Issue

WSRP communication fails until a restart of both producer and consumer servers. During the outage ArrayIndexOutOfBoundsExceptions are observed on producer side.

Stacktrace of the exception:

2013-08-16 16:44:13,133 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
java.lang.ArrayIndexOutOfBoundsException: 26
        at java.util.ArrayList.clear(ArrayList.java:453)
        at org.gatein.wsrp.producer.handlers.ServiceDescriptionHandler$ServiceDescriptionInfo.updatePortletDescriptions(ServiceDescriptionHandler.java:510)
        at org.gatein.wsrp.producer.handlers.ServiceDescriptionHandler$ServiceDescriptionInfo.access$200(ServiceDescriptionHandler.java:399)
        at org.gatein.wsrp.producer.handlers.ServiceDescriptionHandler.getServiceDescription(ServiceDescriptionHandler.java:138)
        at org.gatein.wsrp.producer.WSRPProducerImpl.getServiceDescription(WSRPProducerImpl.java:197)
        at org.gatein.wsrp.endpoints.v2.ServiceDescriptionEndpoint.getServiceDescription(ServiceDescriptionEndpoint.java:93)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.wsf.container.jboss50.invocation.InvocationHandlerJSE.invoke(InvocationHandlerJSE.java:117)
        at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:241)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:469)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:294)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:203)
        at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:129)
        at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Environment

  • Red Hat JBoss Portal
    • 5.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content