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



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. Dim xlApp As Excel.Application
Dim

View Tutorial          By: Zarno at 2010-12-24 07:11:19

2. i want daily tutorials
View Tutorial          By: ashish at 2007-12-18 04:26:19

3. please tell me.........
View Tutorial          By: case c++ at 2012-02-20 02:45:55

4. you're so great!
View Tutorial          By: renz at 2008-08-10 18:29:59

5. dear sir, plz answer my following questions:

View Tutorial          By: hawa at 2012-01-29 08:29:39

6. You just save ma arse, had a SQLite database, and
View Tutorial          By: codeRealm at 2011-11-13 12:58:05

7. Hi all people...If i need to read a sms from the m
View Tutorial          By: Omarsi12 at 2009-09-06 17:11:15

8. thanks alot!
View Tutorial          By: gumuruh at 2010-11-06 11:27:18

9. this tutorial is very nice but if it contains more
View Tutorial          By: JOHN.J at 2007-11-29 23:56:06

10. Thanks for the article. I finally finish my task a
View Tutorial          By: bali web at 2012-07-10 13:47:49