java.lang.StackOverflowError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Thomas Mortagne,
    • 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)
    No Bugmate found.