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



Comment Added by : RAHUL

Comment Added at : 2010-12-28 22:59:41

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

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)

PLEASE...... WHAT I SHOULD DO 4 THIS ERROR..ANY1 CAN HELP MW???

I M NOT GETTING LIST OF PORTS IN PROGRAMME..THEN HOW CAN I CHOOSE??


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. Please give me a example of regionMatches().
View Tutorial          By: A. K. M. Saleh Sultan at 2009-10-05 14:52:25

2. regarding 'TextMessage' and 'MessageConnection' er
View Tutorial          By: gaurav at 2012-04-24 11:57:17

3. today Iam getting time ,date of sending and "
View Tutorial          By: raghu at 2012-01-07 14:43:32

4. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

5. To RUN this code, follow below steps


View Tutorial          By: Ajay at 2010-09-04 03:01:24

6. I have followed all steps but it is giving null po
View Tutorial          By: she at 2013-01-14 06:02:27

7. Hi Shruti, If you have better samples then feel fr
View Tutorial          By: jagan at 2010-03-03 19:42:46

8. I used two phrases of the security section for the
View Tutorial          By: pabo at 2010-04-05 05:22:24

9. Sir, can i execute the program from windows enviro
View Tutorial          By: krishna at 2014-04-08 07:05:30

10. The SAX Parser code has a problem for files of gre
View Tutorial          By: Mark Nelson at 2011-11-14 20:16:41