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. Very Useful tutorial for beginners.. Thanx
View Tutorial          By: Rohini at 2010-02-23 23:16:16

2. Updated example to better show Thread T2 showing t
View Tutorial          By: Sanjiv at 2013-05-25 20:26:31

3. abstract class Explain the concept of abstract c
View Tutorial          By: rahul at 2012-02-23 08:30:47

4. This article is very good. It is very easy to unde
View Tutorial          By: Vandana B.Dass at 2010-02-01 00:54:54

5. Wow NIce
View Tutorial          By: Zahid ALi at 2015-01-16 22:35:45

6. good but very simple program.........
View Tutorial          By: vipul at 2010-03-25 00:33:54

7. Pls put all this code in one folder(Full project d
View Tutorial          By: Guruprasada at 2011-09-15 07:27:57

8. This example is very good, but it doesnt work in M
View Tutorial          By: soma at 2010-04-13 04:34:00

9. Great help
View Tutorial          By: Rajeshvar at 2009-11-04 08:43:09

10. if done all the steps but i have found out this er
View Tutorial          By: hisham at 2010-11-24 11:01:54