开发者

Java serial comm - IllegatStateException - port is closed

开发者 https://www.devze.com 2023-02-13 10:48 出处:网络
I have some existing device driver software I\'m working with in Java that uses JavaCOMM for serial I/O.I saw it throw an exception yesterday where it thew an IllegalState开发者_如何学编程Exception -

I have some existing device driver software I'm working with in Java that uses JavaCOMM for serial I/O. I saw it throw an exception yesterday where it thew an IllegalState开发者_如何学编程Exception - port is closed from inside the public void serialEvent(SerialPortEvent event) callback method. I did not see any log messages that the application had explicity closed the port. Can anyone think of why I'd be seeing this error?

Thank you. Sean


I was never able to get JavaCOMM working. I ended up using serialio.jar.

0

精彩评论

暂无评论...
验证码 换一张
取 消