Java 串口通信程序崩溃 高分求帮忙 300C

系统提示异常如下:
#

An unexpected error has been detected by Java Runtime Environment:

#

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0d4c5cf6, pid=6752, tid=8468

#

Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode windows-x86)

Problematic frame:

C [rxtxSerial.dll+0x5cf6]

#

An error report file with more information is saved as:

D:\apache-tomcat-7.0.82\bin\hs_err_pid6752.log

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

#

可以正常通信只有在调用关闭的时候。出现系统崩溃。
环境是在windows JDK1.6 下开发。

RXTX 调用 serialPort.close();这个方法就出异常。求各位大神帮帮忙。

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐