iReport 在导入/导出数据源设置时崩溃,我该如何调试它?

iReport crashing while importing / exporting data-source settings how can I debug it?

我在 Windows 10 64 位机器上使用 IReport 5.6.0(尽管 5.0.0 具有相同的行为)。

我已经尝试 运行 IReport 与:jdk 1.6 64 位,jre 1.7 64 位,jre 1.7 32 位(我也安装了 jdk 1.8,但我没有将它与 iReport 一起使用,因为我现在存在不兼容问题)。

环境正常启动 - 但是如果我尝试在数据源 window 上按下 importexport 按钮 - iReport 会退出并且 window 会关闭 -没有显示错误消息。

同类型机器的同事(W10 jre 1.7 32 bit)从来没有遇到过任何问题。

我的问题是 - 有没有办法获得更多信息 - 为什么 iReport 退出会抛出什么样的异常等等...换句话说如何调试此行为?

来自https://community.jaspersoft.com/project/ireport-designer

As of version 5.5.0, Jaspersoft Studio will be the official design client for JasperReports. iReport will remain as a supported product in maintenance-only mode until December 31, 2015

这基本上告诉你应该切换到 JasperSoft Studio

也就是说调试 iReport 的最佳方法是检查它的日志,您可以在

中找到它
C:\Users\[your user]\.ireport\[version of iReport]\var\log\messages.log

您可以自己寻找并尝试修复错误,但不要指望 JasperReport 团队会修复这些错误,因为现在他们已经转移到新软件了。

对于历史...

原来问题是由我桌面上的 "God Mode" 文件夹引起的。 此外,崩溃报告一直在我的桌面上节省了所有时间,而我却没有意识到。

删除文件夹解决了问题。