Comment on Tutorial - List all the serial and parallel ports in your system using Java By Ashish



Comment Added by : Srinivasa Rao

Comment Added at : 2009-04-02 05:17:20

Comment on Tutorial : List all the serial and parallel ports in your system using Java By Ashish
By running ListPorts, I am not getting any output and while running smsCliend I am getting the bellow exception. Can you plz help me to resolve the issue.

Exception details :
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)


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. good one.......thanks
View Tutorial          By: raghubir at 2012-11-10 19:01:45

2. my question is the same of sajjad.what about (!iss
View Tutorial          By: hossain at 2012-04-26 04:28:56

3. Ur article is very intersting and very usefull me
View Tutorial          By: SIVAKUMAR at 2011-11-22 11:14:05

4. This Example program is very useful.
good w

View Tutorial          By: sathya at 2008-03-28 02:21:41

5. i want to learn the java from basics onwards.
View Tutorial          By: vinay at 2010-03-08 22:54:15

6. ei! its me again..i badly need you help coz we are
View Tutorial          By: anne226 at 2009-02-11 10:24:21

7. This example of function overloading is easy for U
View Tutorial          By: Pranay Gaikwad at 2012-10-30 14:02:15

8. I have a HSQL query that uses many tables and I'm
View Tutorial          By: Kris Reid at 2009-11-04 15:23:40

9. Hey..can anyone please tell me how to run linux co
View Tutorial          By: ahmed at 2008-09-05 10:22:52

10. providing explanation about the topics is very use
View Tutorial          By: vikram naidu at 2010-06-09 23:40:41