nslcj 2023-06-01 14:38 采纳率: 76.5%
浏览 59
已结题

A fatal error has been detected by the Java Runtime Environment:,java使用modbus串口通信无法连接,jdk环境报错

img

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=20108, tid=0x00000000000025c8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_333-b02) (build 1.8.0_333-b02)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.333-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [jSSC-2.8_x86_64.dll+0xb5db]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\WorkSpace\rmee\rmds-common\hs_err_pid20108.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Process finished with exit code 1

无从下手这个问题,换系统测试的时间太多了,不知道是不是系统的问题

  • 写回答

2条回答 默认 最新

  • 阿正很牛 2023-06-01 14:45
    关注

    这个错误是Java运行时环境检测到的致命错误,可能是由于访问了无效的内存地址导致的。根据错误报告,这个问题发生在本地代码中,而不是Java虚拟机中。可能是因为使用了一个不兼容的库或者驱动程序。你可以尝试更新jSSC库或者驱动程序,或者使用其他的串口通信库来解决这个问题。如果问题仍然存在,你可以尝试在其他的系统上测试,以确定是否是系统的问题。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 6月9日
  • 已采纳回答 6月1日
  • 创建了问题 6月1日

悬赏问题

  • ¥15 HbuilderX检测不到安卓模拟器
  • ¥15 这个main已经在filename.obj中定义是什么错 C语言
  • ¥15 关于#linux#的问题:exsi8.0系统 怎么更改web访问端口,不用80、443
  • ¥15 使用elementor设计样式
  • ¥15 谁能提供一个中文版的推销咨询网站连接?
  • ¥15 springboot项目程序启动报错
  • ¥15 grlb复位后关闭硬限位开关,移动中仍然会触发停止。
  • ¥20 微信平台收付通的相关问题
  • ¥15 grbl复位后,移动会触发报警Alarm 1
  • ¥15 grbl为何无法移动到比复位坐标更小的坐标?