【问题标题】:Eclipse RCP - Open wordfile using JACOB - error "Failed to write core dump.Minidumps are not enabled by default on client versions of Windows"Eclipse RCP - 使用 JACOB 打开 wordfile - 错误“无法写入核心转储。在 Windows 的客户端版本上默认未启用 Minidumps”
【发布时间】:2016-04-15 09:16:30
【问题描述】:

我对 Eclipse RCP Java 和 JACOB(java/COM 桥)非常陌生。我试图从我的 RCP 程序中打开一个 word 文件(已经创建了“test.docx”)。我已使用 jacob.jar(CLASSPATH) 和 jacob.ddl(PATH) 打开文件 - 我已按照此 tutorial 中的说明进行操作。但是当我运行程序时,弹出word文件却突然被以下错误崩溃了。

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

  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7762e005, pid=8552, tid=8136

 JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
 Java VM: Java HotSpot(TM) Client VM (25.66-b18 mixed mode windows-x86 )
# Problematic frame:
# C  [ntdll.dll+0x2e005]

# 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:\...\Eclipse\eclipse-j2Development-4.5-win32\eclipse\hs_err_pid8552.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.

我尝试了几个选项,例如更改工作区、删除 .metadata 文件夹,但我找不到解决方案。非常感谢您的帮助。

问候

阿德林

【问题讨论】:

    标签: java eclipse ms-word jacob minidump


    【解决方案1】:

    对不起各位。我发现了问题。有一个版本错过匹配。我使用的 .dll 文件是旧版本,并且某些功能已被弃用。这导致了崩溃。如果有人使用 Jacob,请参阅 this 以获取最新版本。 谢谢

    【讨论】:

      猜你喜欢
      • 2012-05-30
      • 2015-10-29
      • 1970-01-01
      • 1970-01-01
      • 2019-11-12
      • 2013-03-23
      • 2015-05-12
      • 2016-06-07
      • 1970-01-01
      相关资源
      最近更新 更多