You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Vincenzo Cacurri (JIRA)" <ji...@apache.org> on 2010/11/08 12:30:00 UTC
[jira] Created: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
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.5.0, 2.4.0
Reporter: Vincenzo Cacurri
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.
[jira] Commented: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63173#action_63173 ]
Christian Mueller commented on CAMEL-3321:
------------------------------------------
Will have a look on it this evening...
Christian
> 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.
[jira] Assigned: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Christian Mueller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Mueller resolved CAMEL-3321.
--------------------------------------
Resolution: Fixed
Vincenzo, thanks for reporting the issue and providing the patch.
> 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.
[jira] Updated: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-3321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-3321:
-------------------------------
Fix Version/s: 2.6.0
> 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.
[jira] Commented: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-3321) SmppBinding raises
NullPointerException when an SMSC insert the Short Message Data inside the
message_payload field
Posted by "Vincenzo Cacurri (JIRA)" <ji...@apache.org>.
[ 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.