java.lang.ArrayIndexOutOfBoundsException: 0

liferay.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Liferary on Mac Os X - startup - does nothing - Forums | Liferay

    liferay.com | 1 year ago
    javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException: 0
  2. Speed up your debug routine!

    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
      PortalUtil.getDefaultCompanyId
      1. com.liferay.portal.util.PortalInstances._getDefaultCompanyId(PortalInstances.java:344)
      2. com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:83)
      3. com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:1891)
      4. com.liferay.portal.util.PortalUtil.getDefaultCompanyId(PortalUtil.java:522)
      4 frames
    3. Liferay Portal Impl
      ValidHostNameFilter.doFilterTry
      1. com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:38)
      1 frame
    4. Liferay Portal Service
      InvokerFilter.doFilter
      1. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:183)
      2. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      3. com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
      3 frames
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    6. Liferay Portal Service
      BaseFilter.processFilter
      1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      1 frame
    7. x.y.z
      HttpsFilter.processFilter
      1. x.y.z.eservice.filters.redirect.HttpsFilter.processFilter(HttpsFilter.java:42)
      1 frame