camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Cacurri (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-3321) SmppBinding raises NullPointerException when an SMSC insert the Short Message Data inside the message_payload field
Date Mon, 08 Nov 2010 11:34:00 GMT

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

Vincenzo Cacurri updated CAMEL-3321:
------------------------------------

    Attachment: SmppBinding_Patch.txt

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


Mime
View raw message