Hi, Its really hard to say what's wrong - not much is shown here. Try to setup the debug log in order to see where the problem is.
On Mar 6, 4:10 pm, NhatThien <[email protected]> wrote: > I'm very new in SMSLib so I tried to run the readMessage example but > it did not work. > This is my problem: > ------- > 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.5 > java.lang.NullPointerException > at firstsmsex.Main.doIt(Main.java:138) > at firstsmsex.Main.main(Main.java:184) > BUILD SUCCESSFUL (total time: 2 seconds) > ----- > I use Motorola L6 as a GSM modem. -- 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.
