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. enter no of line: 5 not fix value
out put i

View Tutorial          By: mark at 2013-01-31 14:30:00

2. Great tutorial. Thanks guys.
View Tutorial          By: John D at 2009-03-21 11:01:58

3. can you gave us a sample form that has a design
View Tutorial          By: niknik at 2011-07-01 09:39:21

4. Thanks for this tuto , simple and very useful :)
View Tutorial          By: Firas at 2014-11-24 16:49:07

5. HI EVERY ONE I AM NEW IN J2ME SO I WANT TO LEARN S
View Tutorial          By: KALAI at 2011-04-04 03:10:32

6. Please don't give example from book this example i
View Tutorial          By: aniruddha at 2011-03-23 00:34:32

7. exellent, thks!!!
View Tutorial          By: Eduardo at 2010-01-29 19:20:15

8. In this examples please create the output of the p
View Tutorial          By: bheemesh at 2011-05-01 09:05:46

9. ,Hi, (VS2008, VB.Net
I used the above code,

View Tutorial          By: Pat at 2012-06-27 17:30:37

10. hi,
can you tell me how to run the code to

View Tutorial          By: raghu at 2008-12-26 03:15:52