JavaKit starts but ......exception

Jim McGlaughlin <McGlaughlin-KfePe/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <200421512233.824506@MaxNote>
I have just started development on the TINI platform.

I finally got JavaKit to the point of running but I get a NullPointerException:
        at javax.comm.CommPortEnumerator.hasMoreElements(CommPortIdentifier.java:570)
        at JavaKit.<init>(JavaKit.java:435)
        at JavaKit.main(JavaKit.java:4671)

JavaKit was started without parameters and with -port 1 and with -port com1.

>From code for JavaKit.java I found on the web this looks like it happens at

            Enumeration ports = CommPortIdentifier.getPortIdentifiers();
            while (ports.hasMoreElements())

This looks like the javax.comm library is found ok by JavaKit.  Is the problem related to a firewall perhaps?  I would appreciate help with the beginner issue.

Thanks
 
Jim McGlaughlin


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.