首页 > 解决方案 > 我如何解决jframe期间的java致命错误

问题描述

我在JFrameEclipse 中使用(窗口生成器)。

当我转到设计选项卡并单击组件或其他东西时。有时 eclipse 只是关闭而没有抛出任何错误,当我再次打开 eclipse 时,我的Jframe文件在空气中消失了。

我不能Jframe再次使用我的文件名。

'存在同名但大小写不同的类型。发生。

我发现每次发生新文件时,例如hs_err_pd13544is created 。所以我复制了一部分。

我尝试重新安装 java 和 eclipse 几次,没有任何帮助。


    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffdecbcaca8, pid=13544, tid=29532
    #
    # JRE version: Java(TM) SE Runtime Environment (13.0.1+9) (build 13.0.1+9)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (13.0.1+9, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
    # Problematic frame:
    # C  [MSCTF.dll+0x2aca8]
    #
    # No core dump will be written. Minidumps are not enabled by default on client versions of Windows
    #
    # 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.
    #


    ---------------  S U M M A R Y ------------

    Command Line: -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ 

    Host: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz, 8 cores, 7G,  Windows 10 , 64 bit Build 18362 (10.0.18362.329)
    Time: Thu Nov 21 13:46:57 2019 ´eCN¹I±¹ C¥AؽA elapsed time: 77 seconds (0d 0h 1m 17s)

标签: javaswingjframehs-err

解决方案


1) 我在 Eclipse 中使用 JFrame (window builder)。
--> 对于 Swing 框架工作,Netbeans IDE 比 eclipse 更轻、更快,是更可行或最佳选择。尝试与 Netbeans IDE 相同的代码。

2) 另一种方法是.. 使用新的/最新版本的 Eclipse 或更新现有的 Eclipse。


推荐阅读