java.lang.ArrayIndexOutOfBoundsException: 0

liferay.com | 5 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Cassandra ArrayIndexOutOfBoundsException

    Stack Overflow | 3 years ago | user3087110
    java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at com.liferay.portal.util.PortalInstances.getDefaultCompanyId()
    2. Liferay Portal Service
      PortalInstances.getDefaultCompanyId
      1. com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:80)
      1 frame
    3. Liferay Portal Impl
      MainServlet.init
      1. com.liferay.portal.servlet.MainServlet.initCompanies(MainServlet.java:767)
      2. com.liferay.portal.servlet.MainServlet.init(MainServlet.java:336)
      2 frames
    4. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:241)
      1 frame
    5. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
      2 frames
    6. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    7. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    8. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    9. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:94)
      2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:82)
      3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)
      4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60)
      5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:35)
      6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:624)
      7. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:565)
      8. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1874)
      9. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1848)
      10. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1738)
      11. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2741)
      12. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
      13. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:782)
      13 frames
    10. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:214)
      2. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      2 frames
    11. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    12. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:213)
      3. weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:112)
      4. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:125)
      5. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:214)
      6. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      6 frames
    13. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    14. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:25)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:730)
      3 frames
    15. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
      1 frame
    16. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
      2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
      3 frames
    17. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:192)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:369)
      3 frames
    18. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:187)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:95)
      8 frames
    19. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    20. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      2 frames