Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11664

When clicking on the Edit Section Button you receive an error

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • Click on Blog
      • Go to Blog Categories
      • Click on one of those 3 categories
      • Notice in the right side the Edit Section Button
      • Click on the Edit Section Button
      • You get this error:
        Notice
        
        A problem occurred while trying to process your request. Please contact the webmaster if this happens again.
        
        
        Detailed information:
        
            Error number 0 in 11: Uncaught exception
        com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
        	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:371)
        	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
        	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
        	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
        	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
        	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
        	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
        	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
        	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
        	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
        	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
        	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
        	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
        	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
        	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
        	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        	at org.eclipse.jetty.server.Server.handle(Server.java:370)
        	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
        	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
        	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
        	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
        	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
        	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
        	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        	at java.lang.Thread.run(Unknown Source)
        Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        	at java.util.ArrayList.rangeCheck(Unknown Source)
        	at java.util.ArrayList.get(Unknown Source)
        	at com.xpn.xwiki.doc.XWikiDocument.getDocumentSection(XWikiDocument.java:7425)
        	at com.xpn.xwiki.web.EditAction.updateDocumentTitleAndContentFromRequest(EditAction.java:216)
        	at com.xpn.xwiki.web.EditAction.prepareEditedDocument(EditAction.java:95)
        	at com.xpn.xwiki.web.EditAction.render(EditAction.java:58)
        	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:348)
        	... 45 more 

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              RamonaConoro Ramona Conoro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: