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



Comment Added by : Prakash

Comment Added at : 2008-04-14 06:22:38

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
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(Unknown Source)
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(Unknown Source)

Getting above error.

give me steps to resolve this .

Thanks,
Prakash


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. hi
this is helpful, but file store it in m

View Tutorial          By: Mahesh at 2011-11-10 06:52:39

2. Thnx Ramlak,but be ware about syntax errors.
View Tutorial          By: Saber at 2008-11-03 07:45:23

3. This is first time i am using this net
View Tutorial          By: selvam at 2008-08-19 00:04:44

4. Just what I was looking for. Thank you.
View Tutorial          By: Babool at 2008-05-08 08:32:50

5. I am doing a project to for sending sms from the s
View Tutorial          By: visalakshi at 2010-03-30 20:55:50

6. Dear Gurus, I have arrived at your site lloking f
View Tutorial          By: Fred Mah at 2012-09-22 07:40:27

7. Thanks.. worked perfectly :)
View Tutorial          By: DJ at 2012-04-05 19:40:43

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

9. its very good , good example for beginners
View Tutorial          By: Rohit Mumbai at 2012-02-03 06:59:13

10. nice article but can more example
View Tutorial          By: sandi at 2012-10-18 13:26:10