[
https://issues.apache.org/jira/browse/CAMEL-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712682#comment-13712682
]
Christian Müller commented on CAMEL-4695:
-----------------------------------------
It's easy if you have a look at the change set Claus mentioned [1]. The fix is
also back ported to the camel-2.8.x maintenance branch...
[1] https://fisheye6.atlassian.com/changelog/camel?cs=1165993
> Calling the camel-smpp component results in a NullPointerException
> ------------------------------------------------------------------
>
> Key: CAMEL-4695
> URL: https://issues.apache.org/jira/browse/CAMEL-4695
> Project: Camel
> Issue Type: Bug
> Components: camel-smpp
> Reporter: Christian Müller
> Assignee: Christian Müller
> Fix For: 2.9.0
>
>
> When the camel-smpp component is called to submit a SMS, a
> NullPointerException is thrown:
> {code:title=Stacktrace}
> Caused by: java.lang.NullPointerException
> at
> org.jsmpp.util.PDUByteBuffer.appendAll(PDUByteBuffer.java:182)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.util.DefaultComposer.submitSm(DefaultComposer.java:238)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.DefaultPDUSender.sendSubmitSm(DefaultPDUSender.java:196)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.SynchronizedPDUSender.sendSubmitSm(SynchronizedPDUSender.java:192)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.session.SubmitSmCommandTask.executeTask(SubmitSmCommandTask.java:86)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.session.AbstractSession.executeSendCommand(AbstractSession.java:248)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.jsmpp.session.SMPPSession.submitShortMessage(SMPPSession.java:320)[149:org.apache.servicemix.bundles.jsmpp:2.1.0.3]
> at
> org.apache.camel.component.smpp.SmppSubmitSmCommand.execute(SmppSubmitSmCommand.java:56)
> ... 62 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira