Hi, I can see that you get the exception upon disconnection. Is your message sent or not?
Can you setup the logging and post a log? On Jan 14, 10:10 am, Daya Shanker <[email protected]> wrote: > Hello, > > Can any body help? I am still waiting 4 some reply about the exception > coming while starting the service. > > > > > > On Wed, Jan 13, 2010 at 4:43 PM, j2ee <[email protected]> wrote: > > Hello > > > Please guide me.. When I am running SendMessage.java program > > following Exception is coming > > > java.lang.NullPointerException > > at org.smslib.modem.SerialModemDriver.disconnectPort > > (SerialModemDriver.java:107) > > at org.smslib.modem.AModemDriver.disconnect(AModemDriver.java: > > 280) > > at org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java: > > 197) > > at org.smslib.Service.stopService(Service.java:338) > > at org.smslib.Service.startService(Service.java:217) > > at cdot.omcr.flt.be.SendSmsProcess.startService > > (SendSmsProcess.java:156) > > > Actullay I have connected GSM Modem to /dev/ttyS4 and when I am > > running CommTest.java example, it is detecting only /dev/ttyS0 port. > > Other Serial port are not detected by the CommTest. > > > Please help me. > > What to do to run SendMessage.java. > > > Thanks in advance > > > -- > > You received this message because you are subscribed to the Google Groups > > "SMSLib for Java User Group" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<smslib%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/smslib?hl=en. > > -- > Thanks & Regds. > ***************************** > Daya Shanker Chaubey > Research Engineer > IN Group > C-DOT Delhi
-- You received this message because you are subscribed to the Google Groups "SMSLib for Java 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.
