Im getting following ERROR while running ReadMessages.java =========================
run: Example: Read messages from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.4.6 [2010-07-09 06:48 , 0] INFO [main]: (Logger.java:50) - SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org [2010-07-09 06:48 , 0] INFO [main]: (Logger.java:50) - Version: 3.4.6 [2010-07-09 06:48 , 0] INFO [main]: (Logger.java:50) - JRE Version: 1.6.0_20 [2010-07-09 06:48 , 0] INFO [main]: (Logger.java:50) - JRE Impl Version: 16.3-b01 [2010-07-09 06:48 , 0] INFO [main]: (Logger.java:50) - O/S: Windows XP / x86 / 5.1 [2010-07-09 06:48 , 16] DEBUG[main]: (Logger.java:64) - Initialized. [2010-07-09 06:48 , 16] DEBUG[DelayQueueManager]: (Logger.java: 64) - Running... [2010-07-09 06:48 , 16] DEBUG[DelayQueueManager]: (Logger.java: 64) - DelayQueueManager running... [2010-07-09 06:48 , 16] DEBUG[main]: (Logger.java:64) - Initialized. [2010-07-09 06:48 , 16] DEBUG[NotifyQueueManager]: (Logger.java: 64) - Running... [2010-07-09 06:48 , 16] DEBUG[NotifyQueueManager]: (Logger.java: 64) - NotifyQueueManager running... [2010-07-09 06:48 , 32] DEBUG[main]: (Logger.java:64) - GTW: modem.com1: SEND :AT+CGMM(cr) java.lang.NullPointerException [2010-07-09 06:48 , 32] DEBUG[DelayQueueManager]: (Logger.java: 64) - Stopped. [2010-07-09 06:48 , 32] INFO [main]: (Logger.java:50) - GTW: modem.com1: Stopping gateway... >>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: STOPPING [2010-07-09 06:48 , 32] INFO [main]: (Logger.java:50) - GTW: modem.com1: Closing: COM6 @9600 [2010-07-09 06:48 , 32] DEBUG[NotifyQueueManager]: (Logger.java: 64) - NotifyQueueManager end... [2010-07-09 06:48 , 32] INFO [main]: (Logger.java:50) - GTW: modem.com1: Gateway stopped. at org.smslib.modem.SerialModemDriver.write(SerialModemDriver.java:162) at org.smslib.modem.AModemDriver.write(AModemDriver.java:301) at org.smslib.modem.athandler.ATHandler.getModel(ATHandler.java:223) at org.smslib.modem.ModemGateway.getModel(ModemGateway.java: 883) at examples.modem.ReadMessages.doIt(ReadMessages.java:103) at examples.modem.ReadMessages.main(ReadMessages.java:198) [2010-07-09 06:48 , 141] DEBUG[NotifyQueueManager]: (Logger.java: 64) - Running... [2010-07-09 06:48 , 141] DEBUG[NotifyQueueManager]: (Logger.java: 64) - NotifyQueueManager running... >>> Gateway Status change for modem.com1, OLD: STOPPING -> NEW: STOPPED [2010-07-09 06:48 , 141] DEBUG[NotifyQueueManager]: (Logger.java: 64) - NotifyQueueManager end... [2010-07-09 06:48 , 235] DEBUG[NotifyQueueManager]: (Logger.java: 64) - Stopped. BUILD SUCCESSFUL (total time: 0 seconds) =========================================== Thanks -- 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.
