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

Solutions on the web

via Liferay Issues by Minhchau Dang, 3 months ago
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1	at com.liferay.portal.kernel.util.StringBundler.setIndex(StringBundler.java:186)	at org.apache.jsp.html.taglib.ui.asset_005fcategories_005fselector.page_jsp._getCategoryIdsTitles(page_jsp.java:271)	at org.apache.jsp.html.taglib.ui.asset_005fcategories_005fselector.page_jsp._jspService(page_jsp.java:770)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:97)	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.include(PACLRequestDispatcherWrapper.java:54)	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:345)	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:245)	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)	at org.apache.jsp.html.portlet.asset_005fpublisher.edit_005fquery_005frule_jsp._jspService(edit_005fquery_005frule_jsp.java:981)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:97)	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.doDispatch(PACLRequestDispatcherWrapper.java:90)	at com.liferay.portal.servlet.PACLRequestDispatcherWrapper.include(PACLRequestDispatcherWrapper.java:54)	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:345)	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:245)	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:86)