Open GoogleCodeExporter opened 8 years ago
Same issue there. Looks like parsing delivery receipt without some fields
(sub/dlvrd/etc) lead to parsing exception. Attached patch (against trunk) fixes
this
issue by substituting nonexistent values by their defaults.
Original comment by v.antono...@gmail.com
on 30 Apr 2010 at 1:21
Attachments:
I have the same problem. However, I can't apply you patch. Could you give me
some
guidelines how to do this in Eclipse?
--
Andreas
Original comment by andreas....@gmail.com
on 28 May 2010 at 9:45
Never mind. I missed the part where you said "against trunk" :)
Original comment by andreas....@gmail.com
on 28 May 2010 at 1:26
Is there a way to resolve this issue in the current version (jsmpp-2.1.0.jar)?
jsmpp is working great if not for this issue.
Any help in resolving this issue is highly appreciated.
Thanks,
Wasantha
Original comment by wasan...@gmail.com
on 16 Sep 2010 at 7:37
Hi,
Anyone able to help me out?
Thanks,
Wasantha
Original comment by wasan...@gmail.com
on 25 Sep 2010 at 5:06
Use my attach
Many thank to Antono..@
Original comment by i...@sanmua.com
on 31 Mar 2013 at 8:36
Attachments:
HI,
thanks for the code but i am getting and error even after that
org.jsmpp.util.InvalidDeliveryReceiptException: There is an error found when
parsing delivery receipt 0x000e
at org.jsmpp.bean.DeliveryReceipt.<init>(DeliveryReceipt.java:80)
at org.jsmpp.util.DefaultDecomposer.deliveryReceipt(DefaultDecomposer.java:394)
at org.jsmpp.util.DefaultDecomposer.deliveryReceipt(DefaultDecomposer.java:404)
at org.jsmpp.bean.DeliverSm.getShortMessageAsDeliveryReceipt(DeliverSm.java:42)
at sms.Server.handler.SmsReceiverListener.onAcceptDeliverSm(SmsReceiverListener.java:47)
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.SMPPSessionBoundTRX.processDeliverSm(SMPPSessionBoundTRX.java:42)
at org.jsmpp.session.PDUProcessTask.run(PDUProcessTask.java:81)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Unknown Source)
at org.jsmpp.util.DeliveryReceiptState.getByName(DeliveryReceiptState.java:60)
at org.jsmpp.bean.DeliveryReceipt.<init>(DeliveryReceipt.java:74)
... 13 more
Original comment by mohandez...@gmail.com
on 16 Sep 2013 at 3:51
Original issue reported on code.google.com by
denis.internal@gmail.com
on 17 Sep 2009 at 6:20