java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.

XWiki.org JIRA | Vincent Massol | 4 years ago
  1. 0

    This is what I get when selecting all docs from the default XE XAR and clicking on the "Import" button: {noformat} 14:04:57,365 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xwiki].[action]] (http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences) Servlet.service() for servlet action threw exception: java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector. at org.apache.tomcat.util.http.Parameters.addParameter(Parameters.java:199) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:383) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:229) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.Request.parseParameters(Request.java:2874) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.Request.getParameterValues(Request.java:1349) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.RequestFacade.getParameterValues(RequestFacade.java:404) [jbossweb-7.0.13.Final.jar:] at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:207) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$SavedRequestWrapper.getParameterValues(SavedRequestRestorerFilter.java:146) [xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:] at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:88) [xwiki-platform-wysiwyg-server-4.2-SNAPSHOT.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-4.2-20120626.043306-99.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33] {noformat}

    XWiki.org JIRA | 4 years ago | Vincent Massol
    java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.
  2. 0

    parameter count exceeded allowed maximum 512 Error - TechPaste

    techpaste.com | 6 months ago
    java.lang.IllegalStateException: Parameter count exceeded allowed maximum: 512
  3. 0

    Is there a system property way of setting the MaxParameterCount?

    Stack Overflow | 1 year ago | Dave
    java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to solve "More than the maximum number of request parameters (GET plus POST) for a single request" from application context

    Stack Overflow | 10 months ago | Dave
    java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.
  6. 0

    Max request parameters issue

    symmetricds | 3 years ago | mdalsey1
    java.lang.IllegalStateException: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.

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

      More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected. Any parameters beyond this limit have been ignored. To change this limit, set the maxParameterCount attribute on the Connector.

      at org.apache.tomcat.util.http.Parameters.addParameter()
    2. Grizzly HTTP
      Parameters.processParameters
      1. org.apache.tomcat.util.http.Parameters.addParameter(Parameters.java:199)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:383)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:229)[jbossweb-7.0.13.Final.jar:]
      3 frames
    3. Glassfish Core
      RequestFacade.getParameterValues
      1. org.apache.catalina.connector.Request.parseParameters(Request.java:2874)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.connector.Request.getParameterValues(Request.java:1349)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.catalina.connector.RequestFacade.getParameterValues(RequestFacade.java:404)[jbossweb-7.0.13.Final.jar:]
      3 frames
    4. JavaServlet
      ServletRequestWrapper.getParameterValues
      1. javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:207)[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      1 frame
    5. org.xwiki.container
      SavedRequestRestorerFilter$SavedRequestWrapper.getParameterValues
      1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$SavedRequestWrapper.getParameterValues(SavedRequestRestorerFilter.java:146)[xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:]
      1 frame
    6. org.xwiki.wysiwyg
      ConversionFilter.doFilter
      1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:88)[xwiki-platform-wysiwyg-server-4.2-SNAPSHOT.jar:]
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
      2 frames
    8. com.xpn.xwiki
      XWikiDavFilter.doFilter
      1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)[xwiki-platform-webdav-server-4.2-20120626.043306-99.jar:]
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
      2 frames
    10. org.xwiki.container
      SavedRequestRestorerFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)[xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:]
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
      2 frames
    12. org.xwiki.container
      SetCharacterEncodingFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)[xwiki-platform-container-servlet-4.2-20120626.042628-99.jar:]
      1 frame
    13. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.13.Final.jar:]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.13.Final.jar:]
      4 frames
    14. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
      1 frame
    15. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.13.Final.jar:]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)[jbossweb-7.0.13.Final.jar:]
      4 frames
    16. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)[jbossweb-7.0.13.Final.jar:]
      3 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)[classes.jar:1.6.0_33]
      1 frame