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

liferay.com | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    RE: Error in liferay 5.2.2 - Community Forums | Liferay

    liferay.com | 4 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 14
  2. 0

    [STDOUT] 23:46:51,023 WARN [PortalImpl] Unable to impersonate JpVZ4mObbp4%3D because the string cannot be decrypted java.lang.StringIndexOutOfBoundsException: String index out of range: 14 at java.lang.String.charAt(String.java:558) at com.liferay.portal.kernel.util.Base64.decode(Base64.java:143) 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 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 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 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) 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.portal.util.PortalUtil.renderPortlet(PortalUtil.java:897) 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)

    Liferay Issues | 8 years ago | sameer danthurthy
    java.lang.StringIndexOutOfBoundsException: String index out of range: 14
  3. 0

    Multiple exceptions in logs - 社区论坛 | Liferay

    liferay.com | 4 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 14
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug 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.
  6. 0

    Infix to postfix with real numbers

    Stack Overflow | 4 years ago | mpluse
    java.lang.StringIndexOutOfBoundsException: String index out of range: 14
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.StringIndexOutOfBoundsException

    String index out of range: 14

    at java.lang.String.charAt()
  2. Java RT
    String.charAt
    1. java.lang.String.charAt(String.java:687)
    1 frame
  3. Liferay Portal Service
    Base64.decode
    1. com.liferay.portal.kernel.util.Base64.decode(Base64.java:139)
    1 frame
  4. Liferay Util Java
    Encryptor.decrypt
    1. com.liferay.util.Encryptor.decrypt(Encryptor.java:126)
    1 frame
  5. Liferay Portal Service
    RenderRequestFactory.create
    1. com.liferay.portal.util.PortalImpl.getDoAsUserId(PortalImpl.java:3225)
    2. com.liferay.portal.util.PortalImpl.getUserId(PortalImpl.java:2405)
    3. com.liferay.portal.util.PortalUtil.getUserId(PortalUtil.java:718)
    4. com.liferay.portlet.PortletRequestImpl.init(PortletRequestImpl.java:629)
    5. com.liferay.portlet.RenderRequestFactory.create(RenderRequestFactory.java:63)
    5 frames
  6. org.apache.jsp
    render_005fportlet_jsp._jspService
    1. org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:896)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    5 frames
  12. Liferay Portal Service
    PortalUtil.renderPortlet
    1. com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:2801)
    2. com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:858)
    2 frames
  13. com.liferay.portlet
    RuntimePortletUtil.processTemplate
    1. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:170)
    2. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:103)
    3. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:281)
    4. com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:190)
    4 frames
  14. org.apache.jsp
    portlet_jsp._jspService
    1. org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:817)
    1 frame
  15. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    1 frame
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  17. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    3 frames
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  19. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:497)
    5 frames
  20. Liferay Portal Impl
    LayoutAction.execute
    1. com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:294)
    2. com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:466)
    3. com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:195)
    3 frames
  21. struts
    RequestProcessor.process
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    2 frames
  22. Liferay Portal Impl
    PortalRequestProcessor.process
    1. com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:159)
    1 frame
  23. struts
    ActionServlet.doGet
    1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    2. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    2 frames
  24. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
    1 frame
  25. Liferay Portal Impl
    MainServlet.service
    1. com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:505)
    2. com.liferay.portal.servlet.MainServlet.service(MainServlet.java:732)
    2 frames
  26. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  27. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    6 frames
  28. Liferay Portal Impl
    FriendlyURLServlet.service
    1. com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:143)
    1 frame
  29. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    1 frame
  30. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  31. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  32. Liferay Portal Impl
    StripFilter.processFilter
    1. com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:142)
    1 frame
  33. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  34. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  35. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  36. Liferay Portal Impl
    GZipFilter.processFilter
    1. com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:140)
    1 frame
  37. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  38. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  39. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  40. Liferay Portal Impl
    SecureFilter.processFilter
    1. com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:282)
    1 frame
  41. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  42. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  43. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    2. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
    2 frames
  44. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  45. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  46. Liferay Portal Impl
    CacheFilter.processFilter
    1. com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:380)
    1 frame
  47. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  48. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  49. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  50. Liferay Portal Impl
    AutoLoginFilter.processFilter
    1. com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:244)
    1 frame
  51. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  52. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  53. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  54. Liferay Portal Impl
    OpenSSOFilter.processFilter
    1. com.liferay.portal.servlet.filters.sso.opensso.OpenSSOFilter.processFilter(OpenSSOFilter.java:73)
    1 frame
  55. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  56. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  57. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  58. Liferay Portal Impl
    SharepointFilter.processFilter
    1. com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:193)
    1 frame
  59. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:91)
    1 frame
  60. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  61. Liferay Portal Service
    BaseFilter.processFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    1 frame
  62. Liferay Portal Impl
    VirtualHostFilter.doFilter
    1. com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:188)
    1 frame
  63. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  64. Liferay Portal Service
    BaseFilter.doFilter
    1. com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154)
    2. com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94)
    2 frames
  65. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  66. UrlRewriteFilter
    UrlRewriteFilter.doFilter
    1. org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    1 frame
  67. Glassfish Core
    StandardHostValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6 frames
  68. org.jstripe.tomcat
    Tomcat55AgentValve.invoke
    1. org.jstripe.tomcat.probe.Tomcat55AgentValve.invoke(Tomcat55AgentValve.java:20)
    1 frame
  69. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    3 frames
  70. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    4 frames
  71. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    1 frame
  72. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame