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



Comment Added by : Dc

Comment Added at : 2012-06-07 04:08:19

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
its giving exception
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:662)
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:662)
How to rectify it ??


View Tutorial



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. Hi,
I am getting this exception..My modem i

View Tutorial          By: puneet at 2010-04-22 10:22:18

2. This was very helpful! Thanks!!!
View Tutorial          By: Andreas Clausen at 2009-09-03 15:07:14

3. Its really helpfull to me thanks................
View Tutorial          By: AKS at 2013-08-10 06:27:43

4. very good explanation... thnx...
View Tutorial          By: gobu at 2009-04-05 23:43:19

5. very very thankssssssssssssssss
View Tutorial          By: gowtham at 2010-07-31 22:58:36

6. ASNWERING: what's the purpose of indexOf('t',10)
View Tutorial          By: Kyle at 2012-03-22 09:17:04

7. if the "extend" word is not present does
View Tutorial          By: detteskii at 2011-06-27 09:12:23

8. Hi there, a nice tutorial. i wanna ask, what about
View Tutorial          By: Alfa at 2013-03-06 04:04:26

9. i m novice for jsp.
i enjoy to test jsp cod

View Tutorial          By: thanhtunaung at 2011-08-18 07:44:10

10. Hi.. Everyone... i would like to send and received
View Tutorial          By: Michael at 2011-01-29 23:43:23