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. A wonderful tutorial to learn XML Processing with
View Tutorial          By: Madhan at 2011-09-13 19:37:08

2. This is very useful article with clear understandi
View Tutorial          By: Manu Manker at 2014-03-14 05:49:26

3. Unable to connect with https:\\localhost:8443 but
View Tutorial          By: gopala krishna at 2012-04-02 07:17:09

4. The example is wrong, because there are two sepera
View Tutorial          By: billGates at 2010-07-06 16:56:13

5. Hello,

I got an error like (Wed Ma

View Tutorial          By: narayanan at 2010-03-17 05:56:21

6. HI your explanation is absolutely correct but I am
View Tutorial          By: Anil R. Chinchawade at 2010-07-28 02:02:01

7. To determine current location in a file:
{<

View Tutorial          By: Terry at 2009-09-27 13:15:56

8. This will give the output check it out


View Tutorial          By: shruthi at 2013-01-18 06:00:08

9. hi every body i want full java code to send messag
View Tutorial          By: Yous at 2010-12-26 06:45:30

10. Is it possible for you to create for me a mobile a
View Tutorial          By: Meme at 2008-12-23 06:24:42