java.lang.StackOverflowError

XWiki.org JIRA | Thomas Mortagne | 7 years ago
  1. 0

    I found the following in a XWiki log (i don't know how to reproduce it, it's working ow): {code} Wrapped Exception: null at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:238) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: java.lang.StackOverflowError at org.apache.commons.lang.StringUtils.splitWorker(StringUtils.java:2654) at org.apache.commons.lang.StringUtils.split(StringUtils.java:2166) at com.xpn.xwiki.objects.classes.ListClass.getListFromString(ListClass.java:188) at com.xpn.xwiki.objects.classes.GroupsClass.getListFromString(GroupsClass.java:107) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:338) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463) [...] {code} Look like in some condition it's possible to make XWikiRightServiceImpl#checkRight call itself infinitely.

    XWiki.org JIRA | 7 years ago | Thomas Mortagne
    java.lang.StackOverflowError
  2. 0

    Unable to trace the source of a stack overflow error

    Stack Overflow | 5 years ago | David
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    stackoverflow error while checkout and compare

    Stack Overflow | 4 years ago | user1782807
    java.lang.StackOverflowError

    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.StackOverflowError

      No message provided

      at org.apache.commons.lang.StringUtils.splitWorker()
    2. Commons Lang
      StringUtils.split
      1. org.apache.commons.lang.StringUtils.splitWorker(StringUtils.java:2654)
      2. org.apache.commons.lang.StringUtils.split(StringUtils.java:2166)
      2 frames
    3. com.xpn.xwiki
      XWikiRightServiceImpl.checkRight
      1. com.xpn.xwiki.objects.classes.ListClass.getListFromString(ListClass.java:188)
      2. com.xpn.xwiki.objects.classes.GroupsClass.getListFromString(GroupsClass.java:107)
      3. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:338)
      4. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      5. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      6. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      7. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      8. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      9. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      10. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      11. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      12. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      13. com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkRight(XWikiRightServiceImpl.java:463)
      13 frames