【问题标题】:Getting "A fatal error has been detected by the Java Runtime Environment:" when trying to run JavaFX code尝试运行 JavaFX 代码时出现“Java 运行时环境检测到致命错误:”
【发布时间】:2021-02-25 06:09:32
【问题描述】:

我收到此错误:

A fatal error has been detected by the Java Runtime Environment:

  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff90fdfed10, pid=4140, tid=3980

 JRE version: OpenJDK Runtime Environment (14.0.2+12) (build 14.0.2+12-46)
 Java VM: OpenJDK 64-Bit Server VM (14.0.2+12-46, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
 Problematic frame:
 C  0x00007ff90fdfed10

 No core dump will be written. Minidumps are not enabled by default on client versions of Windows

 An error report file with more information is saved as:
 C:\Users\Vladimir\eclipse-workspace\Lol1\hs_err_pid4140.log

If you would like to submit a bug report, please visit:
   https://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.

这只发生在我尝试运行 JavaFX 代码时。 JavaFX 库本身已正确安装。我尝试使用不同的 JDKS,但没有任何效果(IntelliJ 上的 openjdk 15)。我已经更新,重新安装了多次java无济于事。我也尝试过 eclipse 和 IntelliJ ,它们都得到了相同的错误。该问题与自己编写的代码无关,因为即使在创建新的 JavaFX 项目并尝试运行默认的空白窗口时也会发生这种情况。窗口本身出现不到一秒钟,然后消失,然后我收到错误消息。在这一点上我非常绝望,感谢任何帮助。

编辑:我将在 pastebin 中链接整个错误日志(来自 IntelliJ),因为老实说我完全迷路了

https://pastebin.com/FN3CqGr4

【问题讨论】:

标签: java eclipse intellij-idea javafx fatal-error


【解决方案1】:

好的,我确实只是更新了窗口,它自己修复了..哈哈

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-11
    • 2012-04-16
    • 1970-01-01
    相关资源
    最近更新 更多