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. Can someone tell me how to run in linux 7.10...
View Tutorial          By: fatwa perdana at 2008-10-15 03:27:49

2. Hi,

I am new to html, and javascrip

View Tutorial          By: Tom Theriault at 2010-12-14 14:54:09

3. This tutorial is very good. Actually I have been s
View Tutorial          By: farhaan at 2008-03-20 15:22:13

4. hello!
I am so confused and a total beginne

View Tutorial          By: Jena at 2011-06-11 17:39:39

5. Excellent Example to explain the functions
View Tutorial          By: manish at 2010-08-05 03:10:43

6. in statment -
new Treeset<String> (ne

View Tutorial          By: Siddhesh Khedekar at 2009-10-27 00:14:17

7. Hi,
this is excellent stuff and I highly ap

View Tutorial          By: Nanda at 2007-11-02 04:58:30

8. i want some explanation about struts form field va
View Tutorial          By: ramizah at 2007-10-03 23:40:11

9. mail goes as a single line statement, how to prese
View Tutorial          By: kishor at 2011-06-23 13:35:21

10. @Zero Code

@
Catch ex As Ex

View Tutorial          By: Chitz at 2011-12-24 19:50:45