google-code-export / smslib

Automatically exported from code.google.com/p/smslib
1 stars 0 forks source link

Error in handling status report messages. #441

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

When the delivery /status report is coming on Sierra wireless Modem the
parser is not able to parse. Its showing the below error.

I appreciate your help to resolve the same.

34179  2011-12-01 22:53:28,294 [SMSLib-AsyncMessageProcessor : modem.com16] 
ERROR org.smslib.modem.ModemGateway  - GTW: modem.com16: Unhandled SMS in 
inbox, skipping...
java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at org.ajwcc.pduUtils.gsm3040.PduParser.readAddress(PduParser.java:123)
    at org.ajwcc.pduUtils.gsm3040.PduParser.parseSmsDeliverMessage(PduParser.java:271)
    at org.ajwcc.pduUtils.gsm3040.PduParser.parsePdu(PduParser.java:178)
    at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:557)
    at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:210)
    at org.smslib.modem.AModemDriver$AsyncMessageProcessor.run(AModemDriver.java:879)

Original issue reported on code.google.com by penugon...@gmail.com on 1 Dec 2011 at 6:10

GoogleCodeExporter commented 9 years ago
Please set the logging to DEBUG and post the log.

Original comment by T.Delenikas on 5 Dec 2011 at 9:22

GoogleCodeExporter commented 9 years ago

Original comment by T.Delenikas on 3 Feb 2012 at 6:44