[Rxtx] Port Locking / JVM Crashing
andy.dalton at gmail.com
Fri Sep 8 22:21:40 MDT 2006
Okay, I took some time to look into why the latest-n-greatest wasn't
working for me. There's a bug in src/RXTXCommDriver.java on line 362:
That blows away the pre-set system properties, so later calls to
System.getProperty("os.name") in src/CommPortIdentifier.java returns
null, which later causes a NullPointerException in the static
Lines 363-366 update the existing System properties without throwing
the existing properties away, so just commenting out that single line
I noticed that someone else ran into this problem back in early June:
Anyway, I'll try out this new version and see if it resolves my problem.
Thanks once again for all your help.
On 9/8/06, Trent Jarvi <tjarvi at qbang.org> wrote:
> Hi Andy
> The script mostly works though it's usually used to go the other way while
> preparing rxtx 2.0 for release. If you noticed the exception error you
> saw was a / instead of a . in the exception..
> javax.comm/PortInUseException as I recall.
> So its not perfect but that will not be the cause of the error you saw.
More information about the Rxtx