EAP 6.0.1 throws ArrayIndexOutOfBoundsException when more than one resource adapters are defined

Solution Unverified - Updated -

Issue

  • JBoss EAP 6.0.1 throws the following exception at the time of bootup:
08:05:28,162 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-54) MSC000001: Failed to start service jboss.resourceadapters.ra."Test-Resource-Archive.rar->29": org.jboss.msc.service.StartException in service jboss.resourceadapters.ra."Test-Resource-Archive.rar->29": Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at java.util.ArrayList.add(ArrayList.java:412) [rt.jar:1.7.0_21]
    at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdaptersService$ModifiableResourceAdaptors.addResourceAdapter(ResourceAdaptersService.java:79)
    at org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterService.start(ResourceAdapterService.java:59)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    ... 3 more

08:05:29,653 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-61) MSC000001: Failed to start service jboss.deployment.unit."TestTwo-Resource-Archive.rar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."TestTwo-Resource-Archive.rar".INSTALL: JBAS018733: Failed to process phase INSTALL of deployment "TestTwo-Resource-Archive.rar"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
    at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.NullPointerException
    at org.jboss.as.connector.deployers.ra.processors.RaXmlDeploymentProcessor.deploy(RaXmlDeploymentProcessor.java:147)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
    ... 5 more
Caused by: java.lang.NullPointerException
    at org.jboss.as.connector.deployers.ra.processors.RaXmlDeploymentProcessor.deploy(RaXmlDeploymentProcessor.java:125)
    ... 6 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.0
    • 6.0.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