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. After edit tomcat-user file and restart sevice ..i
View Tutorial          By: Rajesh Perumal at 2013-01-08 06:29:21

2. great material for language
View Tutorial          By: hafiz at 2015-03-24 12:18:45

3. Excellent.. simple and too good to understand
View Tutorial          By: venkat at 2010-05-11 00:30:02

4. its good
View Tutorial          By: sumanth at 2010-04-10 20:10:00

5. please send me basic programs in java with explana
View Tutorial          By: Rekha at 2013-04-14 03:55:51

6. HI,
I am getting this error
Error lo

View Tutorial          By: vijay bhanu at 2009-07-18 08:57:57

7. well no one answered , i figured it out yesterday
View Tutorial          By: oded at 2008-09-29 00:32:16

8. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

9. Can you help me input 15 states and capitals in 2
View Tutorial          By: Hardik Negandhi at 2015-06-24 11:18:51

10. Hi,

Thanks for this example (glad t

View Tutorial          By: Thor at 2007-10-06 15:12:28