im just curious, what the cause of this error is..
the messages get received in the database but with duplicates..
does anyone know i could fix this?..
(im currently using the smslib. 3.5.1 out of the box SMSserver)
does running the SMSserver on eclipse probably a cause?
SMSlibs prints this every couple of seconds over and over


4215260 2012-01-24 03:41:10,669 [SMSServer - OutboundPollingThread]
DEBUG org.smslib.smsserver.SMSServer$OutboundPollingThread  -
OutboundPollingThread() run.
4215261 2012-01-24 03:41:10,670 [SMSServer - OutboundPollingThread]
INFO  org.smslib.smsserver.SMSServer  - SMSServer: sending
asynchronously... [0]
4215273 2012-01-24 03:41:10,682 [SMSServer - InboundPollingThread]
DEBUG org.smslib.smsserver.SMSServer$InboundPollingThread  -
InboundPollingThread() run.
4215273 2012-01-24 03:41:10,682 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: SEND :AT
+CPMS="SM"(cr)
4215308 2012-01-24 03:41:10,717 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: BUFFER: +CPMS:
0,40,0,40,0,40
OK

4215308 2012-01-24 03:41:10,717 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: RECV :+CPMS:
0,40,0,40,0,40(cr)OK(cr)
4215308 2012-01-24 03:41:10,717 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: SEND :AT
+CMGL=4(cr)
4215326 2012-01-24 03:41:10,735 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: BUFFER: +CMS
ERROR: 321

4215326 2012-01-24 03:41:10,735 [SMSServer - InboundPollingThread]
DEBUG org.smslib.modem.AModemDriver  - GTW: modem1: RECV :+CMS ERROR:
321(cr)
4215326 2012-01-24 03:41:10,735 [SMSServer - InboundPollingThread]
ERROR org.smslib.smsserver.SMSServer  - SMSServer: reading messages
exception!
java.lang.StringIndexOutOfBoundsException: String index out of range:
-12
        at java.lang.String.substring(Unknown Source)
        at org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java:
544)
        at org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:210)
        at org.smslib.Service.readMessages(Service.java:500)
        at org.smslib.Service.readMessages(Service.java:388)
        at org.smslib.smsserver.SMSServer.readMessages(SMSServer.java:364)
        at org.smslib.smsserver.SMSServer
$InboundPollingThread.run(SMSServer.java:266)

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion 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.

Reply via email to