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.