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.