• java.io.IOException: No error in nativeavailable


    1、错误描述

    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    doGet... 130
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)
    java.io.IOException: No error in nativeavailable
    	at gnu.io.RXTXPort.nativeavailable(Native Method)
    	at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1596)
    	at com.tongyun.serialPort.utils.SerialReader.serialEvent(SerialReader.java:251)
    	at gnu.io.RXTXPort.sendEvent(RXTXPort.java:772)
    	at gnu.io.RXTXPort.eventLoop(Native Method)
    	at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1641)

    2、错误原因


    3、解决办法

  • 相关阅读:
    LOJ3160 「NOI2019」斗主地
    常系数齐次线性递推
    最小树形图——朱刘算法学习小记
    Linux系统分区(一)
    Linux系统启动过程(二)
    Linux系统目录结构(三)
    cross_val_score
    sklearn.pipeline.Pileline
    DBSCAN密度聚类算法
    特征选择
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13313918.html
Copyright © 2020-2023  润新知