java.lang.StringIndexOutOfBoundsException: String index out of range: 14

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

Samebug tips

,
Expert tip

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

,
via oracle.com by Unknown author

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Solutions on the web

via liferay.com by Unknown author, 1 year ago
via Liferay Issues by sameer danthurthy, 1 year ago
String index out of range: 14
via Coderanch by Z Sugiarto, 10 months ago
via Oracle Community by 843838, 1 month ago
via Icesoft by thorman, 1 year ago
String index out of range: 0
via Oracle Community by User403525, 1 year ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: 14
at java.lang.String.charAt(String.java:558)
at com.liferay.util.Encryptor.decrypt(Encryptor.java:126)
at com.liferay.portal.util.PortalImpl.getDoAsUserId(PortalImpl.java:3378)
at com.liferay.portal.util.PortalImpl.getUserId(PortalImpl.java:2560)
at com.liferay.portal.util.PortalUtil.getUserId(PortalUtil.java:759)
at com.liferay.portlet.PortletRequestImpl.init(PortletRequestImpl.java:629)
at com.liferay.portlet.RenderRequestFactory.create(RenderRequestFactory.java:63)
at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:915)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2884)
at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:170)
at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:90)
at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:77)
at com.liferay.portlet.layoutconfiguration.util.velocity.PortletLogic.processContent(PortletLogic.java:85)
at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:85)
at sun.reflect.GeneratedMethodAccessor701.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 days ago
Once, 1 week ago
Once, 1 week ago
3 times, 1 month ago
2 times, 1 month ago
43 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.