Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is an error found when parsing delivery receipt when handling message #67

Open
miradoony2023 opened this issue Feb 10, 2023 · 0 comments

Comments

@miradoony2023
Copy link

I have an error when trying to handle message with deliverSm.getShortMessageAsDeliveryReceipt()
org.jsmpp.util.InvalidDeliveryReceiptException: There is an error found when parsing delivery receipt
at org.jsmpp.util.DefaultDecomposer.deliveryReceipt(DefaultDecomposer.java:420)
at org.jsmpp.util.DefaultDecomposer.deliveryReceipt(DefaultDecomposer.java:432)
at org.jsmpp.bean.DeliverSm.getShortMessageAsDeliveryReceipt(DeliverSm.java:42)
at routines.CamelSmpp_4$1.onAcceptDeliverSm(CamelSmpp_4.java:162)
at org.jsmpp.session.SMPPSession.fireAcceptDeliverSm(SMPPSession.java:445)
at org.jsmpp.session.SMPPSession.access$400(SMPPSession.java:92)
at org.jsmpp.session.SMPPSession$ResponseHandlerImpl.processDeliverSm(SMPPSession.java:462)
at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm0(SMPPSessionBoundRX.java:109)
at org.jsmpp.session.state.SMPPSessionBoundRX.processDeliverSm(SMPPSessionBoundRX.java:51)
at org.jsmpp.session.PDUProcessTask.run(PDUProcessTask.java:81)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
ton adress :5
message body 🆔0654354026 submit date:2302101454 done date:2302101454 stat:DELIVRD err:000
receive failed :org.jsmpp.util.InvalidDeliveryReceiptException: There is an error found when parsing delivery receipt
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
image

at org.jsmpp.util.DefaultDecomposer.deliveryReceipt(DefaultDecomposer.java:404)
... 12 more

and the output of getShortMessage() is :
id:0654354026 submit date:2302101454 done date:2302101454 stat:DELIVRD err:000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant