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

Christian Mueller reassigned CAMEL-3321:
----------------------------------------

    Assignee: Christian Mueller

> SmppBinding raises NullPointerException when an SMSC insert the Short Message 
> Data inside the message_payload field
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3321
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3321
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-smpp
>    Affects Versions: 2.4.0, 2.5.0
>            Reporter: Vincenzo Cacurri
>            Assignee: Christian Mueller
>             Fix For: 2.6.0
>
>         Attachments: SmppBinding_Patch.txt
>
>
> When an SMSC sends the DeliverSm with the short message data inside the 
> message_payload field (in the OptionalParameter) the method
> createSmppMessage(DeliverSm deliverSm) in the SmppBinding class raises a 
> nullPointerException at the following line:
> else {
>             smppMessage.setBody(String.valueOf(new 
> String(deliverSm.getShortMessage(),  
>                     
> this happen because deliverySm.getShortMessage return null

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

Reply via email to