Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : Hi,

Comment Added at : 2009-07-06 01:09:35

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi got an error while executing :

javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at SerialConnection.openConnection(SerialConnection.java:87)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:619)


Could any one explain the steps to rectify the above issue ?

Waiting for replies ..

Naveen Chanda


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. i have created the main class to run the five clas
View Tutorial          By: Muraya at 2014-04-08 14:48:36

2. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

3. Thanks for this article. Now I can understand Iter
View Tutorial          By: Rajesh Kumar at 2010-12-14 03:27:25

4. i got error for below line

xlApp

View Tutorial          By: Satheyaraaj at 2015-04-28 07:47:42

5. nice work.......
View Tutorial          By: sukirti at 2011-05-06 16:30:19

6. Really great way of explanation..... :)
Tha

View Tutorial          By: akram at 2010-07-08 04:07:17

7. hi there, i was testing your code-samples,

View Tutorial          By: Douglas at 2011-04-07 22:35:56

8. I'd like to Thanks first bcoz your program is real
View Tutorial          By: Pawan at 2012-04-24 19:46:00

9. Hi to every body,

I very new to con

View Tutorial          By: Srinivas at 2011-09-15 10:04:37

10. Sir if i wnna to take the input from user then it
View Tutorial          By: Vivek at 2011-05-14 05:56:30