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

Error in importing "Failed to import documents. Reason: Form too many keys"

    XMLWordPrintable

Details

    • Medium
    • N/A
    • N/A

    Description

      Error while importing XAR
      Failed to import documents. Reason: Form too many keys

      Logs:

      2014-12-24 19:36:24.686:INFO::Server started, you can now open http://Amrut.cybe
      roam.com:8080/ in your browser to access your wiki.
      2014-12-24 19:36:24.686:INFO::----------------------------------
      2014-12-24 19:41:41,535 http://amrut.cyberoam.com:8080/xwiki/bin/view/Main/ IN
      FO .HibernateDataMigrationManager - Storage schema updates and data migrations
      are enabled
      2014-12-24 19:41:41,539 http://amrut.cyberoam.com:8080/xwiki/bin/view/Main/ IN
      FO .HibernateDataMigrationManager - No data migration to apply for database [xw
      iki] currently in version [54600]
      2014-12-24 19:41:41,539 http://amrut.cyberoam.com:8080/xwiki/bin/view/Main/ IN
      FO .HibernateDataMigrationManager - Checking Hibernate mapping and updating sch
      ema if needed for wiki [xwiki]
      2014-12-24 19:46:50.956:WARN:oejs.ServletHandler:/xwiki/bin/import/XWiki/XWikiPr
      eferences
      java.lang.IllegalStateException: Form too many keys
      at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:508)
      at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:601)
      at org.eclipse.jetty.server.Request.extractParameters(Request.java:355)
      at org.eclipse.jetty.server.Request.getParameterValues(Request.java:808)

      at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequest
      Wrapper.java:211)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
      er$SavedRequestWrapper.getParameterValues(SavedRequestRestorerFilter.java:146)
      at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionF
      ilter.java:90)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.ja
      va:66)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
      er.doFilter(SavedRequestRestorerFilter.java:208)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
      er.doFilter(SetCharacterEncodingFilter.java:111)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
      :455)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
      a:557)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
      er.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
      er.java:1075)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
      384)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
      r.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
      r.java:1009)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:135)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Cont
      extHandlerCollection.java:255)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerColl
      ection.java:154)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
      .java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:368)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstrac
      tHttpConnection.java:488)
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpC
      onnection.java:943)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.conten
      t(AbstractHttpConnection.java:1004)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)

      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnecti
      on.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
      dPoint.java:628)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
      Point.java:52)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPoo
      l.java:608)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
      .java:543)
      at java.lang.Thread.run(Unknown Source)
      2014-12-24 19:47:26.219:WARN:oejs.ServletHandler:/xwiki/bin/import/XWiki/XWikiPr
      eferences
      java.lang.IllegalStateException: Form too many keys
      at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:508)
      at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:601)
      at org.eclipse.jetty.server.Request.extractParameters(Request.java:355)
      at org.eclipse.jetty.server.Request.getParameterValues(Request.java:808)

      at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequest
      Wrapper.java:211)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
      er$SavedRequestWrapper.getParameterValues(SavedRequestRestorerFilter.java:146)
      at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionF
      ilter.java:90)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.ja
      va:66)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
      er.doFilter(SavedRequestRestorerFilter.java:208)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
      er.doFilter(SetCharacterEncodingFilter.java:111)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servlet
      Handler.java:1419)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java
      :455)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.jav
      a:557)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandl
      er.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandl
      er.java:1075)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:
      384)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandle
      r.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandle
      r.java:1009)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.j
      ava:135)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Cont
      extHandlerCollection.java:255)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerColl
      ection.java:154)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper
      .java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:368)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstrac
      tHttpConnection.java:488)
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpC
      onnection.java:943)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.conten
      t(AbstractHttpConnection.java:1004)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)

      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnecti
      on.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEn
      dPoint.java:628)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEnd
      Point.java:52)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPoo
      l.java:608)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool
      .java:543)
      at java.lang.Thread.run(Unknown Source)

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              amrut Amrut
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: