[Rxtx] Underlying input stream returned zero bytes

TEIXOEIRA at terra.es TEIXOEIRA at terra.es
Thu Sep 21 11:08:01 MDT 2006


Hi, there.
I'm having difficulties reading a serial line with RXTX 2.1-7 on Windows XP, I can communicate through this serial line using 
HiperTerminal though.
Also, I can't find any clues about this issue on the internet. Can anybody tell what might cause this exception while reading?

Kind regards.

java.io.IOException: Underlying input stream returned zero bytes
        at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:415)
        at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
 


Prueba el correo Terra ( http://www.terra.es/correo ); Seguro, rápido, fiable.





More information about the Rxtx mailing list