You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/11/08 14:20:00 UTC
[jira] Commented: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
[ https://issues.apache.org/activemq/browse/CAMEL-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63164#action_63164 ]
Claus Ibsen commented on CAMEL-3321:
------------------------------------
Is it possible to create an unit test which demonstrates this bug?
> 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
> 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.