0 Replies Latest reply on Jun 25, 2008 12:25 PM by 666705

    Deployment failed: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

    666705
      Can anyone tell me what would cause the following error. I'm deploying an exploded EAR on WLS 9.2 (windows XP), and some (or all) of the webapps (I think) are causing this error. There is no indication of which app it is, or why, or anything (and I've turned all the debugging on). I know there isn't much to go by, but that's the problem...this is all there is.

      weblogic.application.ModuleException:
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
      at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
      at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
      at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.RangeCheck(ArrayList.java:547)
      at java.util.ArrayList.get(ArrayList.java:322)
      at com.sun.xml.stream.XMLScanner.getStringBuffer(XMLScanner.java:1425)
      at com.sun.xml.stream.XMLScanner.scanAttributeValue(XMLScanner.java:805)
      at com.sun.xml.stream.XMLDTDScannerImpl.scanAttDefaultDecl(XMLDTDScannerImpl.java:1428)
      at com.sun.xml.stream.XMLDTDScannerImpl.scanAttlistDecl(XMLDTDScannerImpl.java:1219)
      at com.sun.xml.stream.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:1976)
      at com.sun.xml.stream.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScannerImpl.java:335)
      at com.sun.xml.stream.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1090)
      at com.sun.xml.stream.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:998)
      at com.sun.xml.stream.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:930)
      at com.sun.xml.stream.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:330)
      at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:542)
      at weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper.java:250)
      at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:224)
      at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324)
      at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:174)
      at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:253)
      at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1573)
      at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1037)
      at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:433)
      at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:408)
      at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:552)
      at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:287)
      at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
      at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
      at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
      at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
      at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:131)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
      at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
      at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
      at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
      at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)