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



Ask a Question

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. How to fetch a value from a database in dropdown b
View Tutorial          By: lara at 2014-11-19 09:02:43

2. I need a payroll system program in c++ using class
View Tutorial          By: tesfay at 2012-01-19 12:08:55

3. If the compiler takes care of this pointer implici
View Tutorial          By: Bhanu Noah at 2012-03-15 16:20:05

4. i want complete notes on java from basics
View Tutorial          By: spandana at 2010-02-12 04:44:13

5. Can I ask something,

Can you show m

View Tutorial          By: wawa at 2014-05-03 15:28:35

6. hi, the code is fine. i want this array to be decl
View Tutorial          By: deepi at 2012-04-26 06:08:36

7. tnx .
View Tutorial          By: smokes at 2009-04-15 07:30:19

8. Hi, I don't have any GSM modem. Will it work if I
View Tutorial          By: Arif at 2008-10-09 11:29:14

9. Protip: you could add some inline assembly with th
View Tutorial          By: Robin Degen at 2011-08-16 23:47:04

10. You said the garbage collector can not be forced,
View Tutorial          By: Biniam E at 2011-12-17 15:09:09