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



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...thank you....
View Tutorial          By: jiby at 2012-01-19 06:40:42

2. Good explanation, Thanks.
View Tutorial          By: bram at 2011-05-06 03:37:54

3. simple way friends:
public class palindrome

View Tutorial          By: Manoj at 2013-01-07 02:18:00

4. sir,
When I run the above code and give 6 o

View Tutorial          By: nishant at 2012-07-01 17:11:20

5. can u explain about printStackTrace()method.what i
View Tutorial          By: himabindu at 2009-06-10 20:03:14

6. Great Description. Helped a lot.
View Tutorial          By: Dee2019nc at 2009-11-08 18:26:22

7. thank you...as a beginner this info very useful fo
View Tutorial          By: snigdha at 2012-10-17 11:41:39

8. Thanks, it was really helpful.
But wouldn't

View Tutorial          By: Ron at 2010-06-27 14:22:36

9. nice
View Tutorial          By: udhay at 2011-04-01 02:48:25

10. can i using stack in microsoft access 2007
View Tutorial          By: pxin at 2015-03-24 05:45:56