javax.servlet.ServletException: javax.el.ELException: java.lang.StackOverflowError

Atlassian JIRA | Gustavo Refosco | 2 years ago
  1. 0

    [FE-5320] Long string will cause a java.lang.StackOverflowError for files in repository - Atlassian JIRA

    atlassian.com | 11 months ago
    javax.servlet.ServletException: javax.el.ELException: java.lang.StackOverflowError
  2. 0

    A very long string inside a file will cause a {{java.lang.StackOverflowError}} for files in repository when trying to view the source of this file or trying to add it to a review. The following is shown in the logs: {noformat} 2014-09-02 17:47:41,707 WARN [qtp1829860190-171 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - Error for /browse/merc/WFScheduleXMLTest.cs java.lang.StackOverflowError at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4730) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3694) at java.util.regex.Pattern$Branch.match(Pattern.java:4502) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556) (...) {noformat} h3.Steps to Reproduce # Create a file which highlights a string (in my test I used a .cs file). # Define a long string (e.g. assigning it to a variable). # Save and commit it to the repository. # Have this file indexed by FishEye and try viewing its content. The file used to test this is attached (*test.cs*). h3.Workaround * Break the long line in smaller lines. OR * Increase the thread stack size by increasing the -Xss JVM parameter (e.g. "-Xss2m"). This can be set in the *FISHEYE_OPTS* environment variable (refer to [Environment Variables|https://confluence.atlassian.com/display/FISHEYE/Environment+variables] for further information on this). Please notice that increasing the thread stack size will allocate more memory for each thread, so Out of Memory errors may happen after increasing this setting if you do not have enough memory allocated for FishEye.

    Atlassian JIRA | 2 years ago | Gustavo Refosco [Atlassian]
    javax.servlet.ServletException: javax.el.ELException: java.lang.StackOverflowError
  3. 0

    A very long string inside a file will cause a {{java.lang.StackOverflowError}} for files in repository when trying to view the source of this file or trying to add it to a review. The following is shown in the logs: {noformat} 2014-09-02 17:47:41,707 WARN [qtp1829860190-171 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - Error for /browse/merc/WFScheduleXMLTest.cs java.lang.StackOverflowError at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4730) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3694) at java.util.regex.Pattern$Branch.match(Pattern.java:4502) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556) (...) {noformat} h3.Steps to Reproduce # Create a file which highlights a string (in my test I used a .cs file). # Define a long string (e.g. assigning it to a variable). # Save and commit it to the repository. # Have this file indexed by FishEye and try viewing its content. The file used to test this is attached (*test.cs*). h3.Workaround * Break the long line in smaller lines. OR * Increase the thread stack size by increasing the -Xss JVM parameter (e.g. "-Xss2m"). This can be set in the *FISHEYE_OPTS* environment variable (refer to [Environment Variables|https://confluence.atlassian.com/display/FISHEYE/Environment+variables] for further information on this). Please notice that increasing the thread stack size will allocate more memory for each thread, so Out of Memory errors may happen after increasing this setting if you do not have enough memory allocated for FishEye.

    Atlassian JIRA | 2 years ago | Gustavo Refosco
    javax.servlet.ServletException: javax.el.ELException: java.lang.StackOverflowError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This is with Crucible. In the projects view there is a tab "reviews", that should list all reviews of the project. If i click on it I get an error page saying: Your request was unable to be processed javax.servlet.ServletException - javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException javax.el.ELException: java.lang.NullPointerException java.lang.NullPointerException You are running release CR3.9.1 (20150910131426 2015-09-10), please report your release number when reporting bugs. In the Fisheye log there is an explosion with lines like this: 2015-10-06 08:41:41,698 ERROR - Exception "javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/WEB-INF/jsp/crucible/project/project.jsp" (Referer:"null") javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879) at org.apache.jsp.WEB_002dINF.jsp.crucible.project.project_jsp._jspService(project_jsp.java:137) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) ... 2015-10-06 08:41:41,815 ERROR - Exception "javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/cru/browse/MYPROJ" (Referer:"null") javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:285) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)

    Atlassian JIRA | 1 year ago | Kees Bakker
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException
  6. 0

    This is with Crucible. In the projects view there is a tab "reviews", that should list all reviews of the project. If i click on it I get an error page saying: Your request was unable to be processed javax.servlet.ServletException - javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException javax.el.ELException: java.lang.NullPointerException java.lang.NullPointerException You are running release CR3.9.1 (20150910131426 2015-09-10), please report your release number when reporting bugs. In the Fisheye log there is an explosion with lines like this: 2015-10-06 08:41:41,698 ERROR - Exception "javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/WEB-INF/jsp/crucible/project/project.jsp" (Referer:"null") javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879) at org.apache.jsp.WEB_002dINF.jsp.crucible.project.project_jsp._jspService(project_jsp.java:137) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) ... 2015-10-06 08:41:41,815 ERROR - Exception "javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException" (javax.servlet.ServletException) while processing "/cru/browse/MYPROJ" (Referer:"null") javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:285) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)

    Atlassian JIRA | 1 year ago | Kees Bakker
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException

    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. javax.servlet.ServletException

      javax.el.ELException: java.lang.StackOverflowError

      at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction()
    2. WebWork
      ServletDispatcher.service
      1. com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:285)
      2. com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
      2 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      1 frame
    4. Jetty
      ServletHolder.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
      1 frame