[ 
https://issues.apache.org/jira/browse/CAMEL-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712581#comment-13712581
 ] 

Ruslan commented on CAMEL-4695:
-------------------------------

Ok, but the fix has been done in *new* [SmppSubmitSmCommand 
file|https://fisheye6.atlassian.com/browse/camel/trunk/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppSubmitSmCommand.java?r2=1203887&r1=1179457]

Where do I add this fix in [2.8.0 
version|https://fisheye6.atlassian.com/browse/~br=camel-2.8.x/camel/branches/camel-2.8.x/components/camel-smpp/src/main/java/org/apache/camel/component/smpp]?
                
> 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

Reply via email to