【发布时间】:2011-07-05 04:25:05
【问题描述】:
我正在使用 COM 端口。 我成功打开了 COM 端口并完成了所有工作。关闭 COM 端口时发生崩溃。 代码是
public void close()
throws GPSException
{
if (serial_port_ != null)
serial_port_.close();
}
错误
#
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x04049e69, pid=5692,
> tid=4100
> #
> # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing
> windows-x86)
> # Problematic frame:
> # C [rxtxSerial.dll+0x9e69]
> #
> # 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.
【问题讨论】:
-
您好,错误已解决..感谢大家
-
我有同样的错误。你是怎么解决的?谢谢!
-
@Deepu,你是如何解决这个错误的?
-
Deepu:能否请您自己发布问题的答案,然后接受该答案?此外,如果他们解决了您的问题,您需要接受之前问题的答案。
标签: java serial-port fatal-error rxtx