You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Kalani Ruwanpathirana (JIRA)" <ji...@apache.org> on 2008/05/15 14:51:55 UTC

[jira] Created: (SYNAPSE-318) PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST

PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST
----------------------------------------------------------------------------------

                 Key: SYNAPSE-318
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-318
             Project: Synapse
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2-QA-B2
         Environment: all env
            Reporter: Kalani Ruwanpathirana
            Priority: Blocker
             Fix For: 1.2


PlainTextBuilder gives a NullPointerException while building a message with the content in the format of x-www-form-urlencoded. This is because the message has not been dispatched yet and the PlainTextBuilder tries to get the Axis service from the message context and use that without checking for being null. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (SYNAPSE-318) PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST

Posted by "Kalani Ruwanpathirana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kalani Ruwanpathirana updated SYNAPSE-318:
------------------------------------------

    Attachment: text_builder.patch

This patch will fix the above described issue.

> PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST
> ----------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-318
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-318
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2-QA-B2
>         Environment: all env
>            Reporter: Kalani Ruwanpathirana
>            Priority: Blocker
>             Fix For: 1.2
>
>         Attachments: text_builder.patch
>
>
> PlainTextBuilder gives a NullPointerException while building a message with the content in the format of x-www-form-urlencoded. This is because the message has not been dispatched yet and the PlainTextBuilder tries to get the Axis service from the message context and use that without checking for being null. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (SYNAPSE-318) PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-318.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2)
                   1.2-QA-B3
         Assignee: Asankha C. Perera

applied patch, thanks

> PlainTextBuilder is not working with x-www-form-urlencoded content for a HTTP POST
> ----------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-318
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-318
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2-QA-B2
>         Environment: all env
>            Reporter: Kalani Ruwanpathirana
>            Assignee: Asankha C. Perera
>            Priority: Blocker
>             Fix For: 1.2-QA-B3
>
>         Attachments: text_builder.patch
>
>
> PlainTextBuilder gives a NullPointerException while building a message with the content in the format of x-www-form-urlencoded. This is because the message has not been dispatched yet and the PlainTextBuilder tries to get the Axis service from the message context and use that without checking for being null. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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