[jboss-jira] [JBoss JIRA] (AS7-5143) "java.lang.IllegalStateException: Parameters processing failed" for IE browser only

Melloware Inc (JIRA) jira-events at lists.jboss.org
Tue Jul 10 16:35:12 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705289#comment-12705289 ] 

Melloware Inc commented on AS7-5143:
------------------------------------

The issue with parsing parameters can be found on line 333 of jbossweb 7.0.16:

parseFailed = true;
continue;
// invalid chunk – it’s better to ignore

So you can see they even had a comment saying its better to ignore, but flag the parsing as failed which later translates to an exception being thrown.

Older code even had this (which is exactly what we are seeing):

// No name eg ..&=xx&… will trigger this
…
msg.append(“ignored.”);
log.warn(msg);
continue;
// invalid chunk – it’s better to ignore

So you can see it was added and the comment remains.  

                
> "java.lang.IllegalStateException: Parameters processing failed" for IE browser only
> -----------------------------------------------------------------------------------
>
>                 Key: AS7-5143
>                 URL: https://issues.jboss.org/browse/AS7-5143
>             Project: Application Server 7
>          Issue Type: Bug
>    Affects Versions: 7.1.1.Final, 7.1.2.Final (EAP)
>         Environment: Windows 7 Enterprise Service Pack 1, JDK-1.7.0_05, jboss-as-7.1.1.Final/jboss-eap-6.0.0(Evaluation)
>            Reporter: Vaibhav N
>              Labels: jboss
>
> Application throws an exception for IE browser only with "JBoss-as-7.1.1.Final" & "JBoss-eap-6.0.0(Evaluation version)" only, but it is working correctly for Firefox browser. 
> Note : It is working fine with "jboss-as-7.1.0.Final" version for all browsers.
> Exception details :
> Unhandled Exception / Error:
> Internal Error (757457307) at  :: Exception (Parameters processing failed.)
> java.lang.IllegalStateException: Parameters processing failed.
>         at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:407)
>         at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:229)
>         at org.apache.catalina.connector.Request.parseParameters(Request.java:2874)
>         at org.apache.catalina.connector.Request.getParameterNames(Request.java:1333)
>         at org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:379).........................

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list