You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Alexey Klimenko (JIRA)" <ji...@apache.org> on 2013/03/01 02:53:13 UTC

[jira] [Closed] (AXIS2-5492) Infinite loop in JSONOMBuilder if URL parameter is not valid JSON

     [ https://issues.apache.org/jira/browse/AXIS2-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Klimenko closed AXIS2-5492.
----------------------------------

    Resolution: Fixed
    
> Infinite loop in JSONOMBuilder if URL parameter is not valid JSON 
> ------------------------------------------------------------------
>
>                 Key: AXIS2-5492
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5492
>             Project: Axis2
>          Issue Type: Bug
>          Components: json
>    Affects Versions: 1.6.1
>         Environment: Mac OS Mountain Lion, JRE 1.6
>            Reporter: Alexey Klimenko
>            Priority: Critical
>              Labels: json
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> When making a REST call with Content-Type="application.json". the builder expects to have request body for GET requests (which is limiting on its own).
> If parameters in URL are specified not in JSON format {'x':'y'} but as query parameters like ?x=y (which is expected for most REST services with URL templates) a loop at line 119  becomes infinite as condition is:  while (temp != ':') 
> At least add condition to check end of reader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org