Yes, it was a problem of the SMS generator. Now the issue is solved. Thanks!
On 12 Juny, 14:21, Thanasis <[email protected]> wrote: > No, the PDU is always the preferred method :) > > The message is empty. Is this made on purpose? If you send a message > with some text (even 1 character) do you still receive the same error? > > On Jun 12, 3:03 pm, Marc <[email protected]> wrote: > > > Hi! > > > No, it does not. In fact, I should receive this SMS, process it and > > return a response message to its originator. > > > Browsing the error stackTrace, i have found that the application is > > currently using the 'readMessagesPDU' method. Could I change it and > > use the TEXT method? Would it be a possible solution? > > > Thanks for your time, > > > Marc > > > On 12 Juny, 13:38, Thanasis <[email protected]> wrote: > > > > Hi, > > > > Does this unhandled sms appear after you send a message to someone? > > > > On Jun 12, 1:16 pm, Marc <[email protected]> wrote: > > > > > Hi all! > > > > > I recently got a "GTW: Gateway: Unhandled SMS in inbox, skipping..." > > > > error. I browsed the forum and found other threads that encountered > > > > the same error. I have already deleted all the messages from both the > > > > Inbox and Outbox, but I continue getting the same thing. > > > > > The SMS that provokes the error is sent from another mobile phone. > > > > Below you can see the complete console log, before and after the > > > > reception of this SMS. Where can the ERROR PDU come from? > > > > > I hope anybody can help me. Thanks in advance! > > > > > Marc > > > > > ____________________________________________ > > > > > Messages in msgList: 0 > > > > Messages in msgList: 0 > > > > Messages in msgList: 0 > > > > Messages in msgList: 0 > > > > Messages in msgList: 0 > > > > 0 [main] ERROR org.smslib - GTW: Gateway: Unhandled SMS in inbox, > > > > skipping... > > > > java.lang.ArrayIndexOutOfBoundsException: -1 > > > > at org.smslib.InboundMessage.<init>(InboundMessage.java:145) > > > > at > > > > org.smslib.modem.ModemGateway.readMessagesPDU(ModemGateway.java: > > > > 427) > > > > at > > > > org.smslib.modem.ModemGateway.readMessages(ModemGateway.java:147) > > > > at org.smslib.Service.readMessages(Service.java:435) > > > > at org.smslib.Service.readMessages(Service.java:339) > > > > at net.marc.impl.MC35iModem.listenInbox(MC35iModem.java:116) > > > > at net.marc.impl.MC35iModem.receiveMessages(MC35iModem.java:129) > > > > at net.marc.impl.ModemController.run(ModemController.java:51) > > > > at net.marc.impl.ModemController.main(ModemController.java:86) > > > > 0 [main] ERROR org.smslib - GTW: Gateway: ERROR PDU: > > > > 07914306090909F9040B914336669527F100009060212100958000 > > > > Messages in msgList: 1 > > > > java.lang.NullPointerException > > > > at net.marc.impl.MC35iModem.receiveMessages(MC35iModem.java:140) > > > > at net.marc.impl.ModemController.run(ModemController.java:51) > > > > at net.marc.impl.ModemController.main(ModemController.java:86) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
