java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error while submitting a form in struts 1.3
    via by es kranthi,
  • GitHub comment 163#56184334
    via GitHub by kpetouk
    ,
  • As far as I can see, the for loop line 201 in PacksPanelAutomationHelper.java has an off-by-one error since r2722. (as I don't understand what's it doing there anyways, I'm not going to patch this myself ;-)) {noformat} $ java -jar IzPack-install-4.3.0-rc2.jar install-izpack.xml [ Starting automated installation ] Read pack list from xml definition. Try to add to selection [Name: Core and Index: 0] Try to remove from selection [Name: HTML Documentation and Index: 1] Try to remove from selection [Name: PDF Documentation and Index: 2] Try to remove from selection [Name: Javadocs Documentation and Index: 3] Try to remove from selection [Name: Utilities and Index: 4] Try to remove from selection [Name: Sample and Index: 5] Try to remove from selection [Name: Sources and Index: 6] Modify pack selection. Pack [Name: HTML Documentation and Index: 1] removed from selection. Pack [Name: PDF Documentation and Index: 2] removed from selection. Pack [Name: Javadocs Documentation and Index: 3] removed from selection. Pack [Name: Utilities and Index: 4] removed from selection. Pack [Name: Sample and Index: 5] removed from selection. Pack [Name: Sources and Index: 6] removed from selection. java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 7 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 7 at java.util.Vector.get(Unknown Source) at com.izforge.izpack.adaptator.impl.XMLElementImpl.getChildAtIndex(XMLElementImpl.java:182) at com.izforge.izpack.panels.PacksPanelAutomationHelper.runAutomated(PacksPanelAutomationHelper.java:201) at com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:429) at com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:385) at com.izforge.izpack.installer.Installer.main(Installer.java:65) [ Automated installation FAILED! ] {noformat}
    via by Kjell Braden,
  • Legacy issues from Codehaus JIRA
    via by Unknown author,
    • java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 7 at java.util.Vector.elementAt(Unknown Source) at java.util.Vector.get(Unknown Source) at org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.java:521) at org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.java:428) at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:770) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:881) at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1252) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:738) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

    Users with the same issue

    DavidDavid
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rexgreenzarexgreenza
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor4 times, last one,
    9 more bugmates