Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.ArrayIndexOutOfBoundsException: 0	at com.liferay.portal.util.PortalInstances._getDefaultCompanyId(PortalInstances.java:344)	at com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:83)	at com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:1891)	at com.liferay.portal.util.PortalUtil.getDefaultCompanyId(PortalUtil.java:522)	at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:38)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:183)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)	at x.y.z.eservice.filters.redirect.HttpsFilter.processFilter(HttpsFilter.java:42)