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 to all i m getting this error plz solve it and
View Tutorial          By: krishna prasad at 2011-10-28 10:16:26

2. how to get this list to be alphabetically correct?
View Tutorial          By: Vincent at 2011-06-14 07:36:58

3. Hi,

I have a error like the import

View Tutorial          By: manigandavenkatesh at 2015-02-12 05:52:05

4. To DD -

The comment you just posted

View Tutorial          By: Alex at 2011-09-30 10:36:11

5. I have loaded allthe 5 java files.But how to imple
View Tutorial          By: devi at 2008-04-01 01:02:28

6. This is awesum !!!
easy to understand ....

View Tutorial          By: Sud at 2011-01-19 08:37:55

7. I want to store the Data in Vector or the LinkedLi
View Tutorial          By: Sobia at 2013-01-17 11:24:59

8. Nice example to understand what does the string T
View Tutorial          By: vikash from india at 2011-06-23 06:39:03

9. This code is only for send sms? can it also alert
View Tutorial          By: abdul kadir at 2009-10-23 05:37:46

10. The actual code to write F2 is:
f2.write(bu

View Tutorial          By: João at 2012-04-11 19:22:14