Hi, You are a bit behind in versions... Is this a random error?
Try with the latest v3.3 release (v3.3.3) and see if this error persists. Alternatively, plan your upgrade to 3.4 On Jul 1, 10:41 am, Karthik <[email protected]> wrote: > Hi Thanasis, > > I got the following exception, > > Exception in thread "SMSLib-AsyncMessageProcessor : test1" > java.lang.StringIndexOutOfBoundsException: String index out of range: > -1 > at java.lang.String.substring(Unknown Source) > at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java: > 400) > at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:147) > at org.smslib.modem.AModemDriver$AsyncMessageProcessor.run > (AModemDriver.java:895) > > When this comes the smslib doesn't delete the messages after reading > those messages from the SIM. > > I am using the SMSLib version 3.3. > > Please give the solution for this thread. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
