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. The same article is originally given on struts apa
View Tutorial          By: Fact at 2011-05-09 16:19:18

2. Hi all, i have tried above code, but am getting fo
View Tutorial          By: swathi at 2010-06-24 05:18:28

3. THIS IS VERY SIMPLE AND EXCELENT PROGRAM.THIS PROG
View Tutorial          By: CHIRANJEET at 2011-02-05 12:13:54

4. A precise one. This is how I would like to see exa
View Tutorial          By: Guna at 2010-10-14 03:24:34

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

6. Hi Sir...
sir i am a student and I am worki

View Tutorial          By: shanthi at 2013-03-22 11:01:15

7. This is great, hope to learn more from this commun
View Tutorial          By: Wamaguru at 2014-07-12 09:05:30

8. It is very Important Site
View Tutorial          By: Shridhar Koli at 2011-12-29 11:43:29

9. Hi,

Can anyone suggest a GSM Modem

View Tutorial          By: Archna at 2009-11-06 03:23:14

10. the above is perfect, but when i hit the export bu
View Tutorial          By: CH at 2009-06-02 03:01:34