打开类型对话框为空 - Linux (Ubuntu 9.04) 上的 WebSphere 7.5.0 的 RSA (Rational Software Architetc)

发布于 2024-08-04 05:27:46 字数 481 浏览 2 评论 0原文

我在 Linux (Ubuntu 9.04) 中全新安装了 RSA 7.5.3。 我已经使用一个 Java 项目创建了一个新工作区。 当我打开“打开类型”对话框时,我得到一个空框 - 请参阅附件屏幕截图。 您可以注意到对话框底部没有指定包。 当我尝试寻找课程时,出现以下异常:

Error occurred during status handling
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at org.eclipse.jface.viewers.AbstractTableViewer$VirtualManager.resolveElement
(Unknown Source)!

-- Yonatan

I have a fresh install of RSA 7.5.3 in Linux (Ubuntu 9.04).
I've create a new workspace with one Java project.
When I open the "open type" dialog I get an empty box - see attached screenshot.
You can notice that there is no package specified at the bottom of the dialog.
when I try to look for a class I get the following exception:

Error occurred during status handling
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
at org.eclipse.jface.viewers.AbstractTableViewer$VirtualManager.resolveElement
(Unknown Source)!

-- Yonatan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

眼波传意 2024-08-11 05:27:46

嗯,实际上有人在 developerworks 上遇到了完全相同的问题< /a>!
哦等等...那就是你了;)

可能 RSA 正在阻止 Java 初始化作业启动,这将是一个问题,如 错误 192112

如果没有,bugs.eclipse.org 上将出现一个新错误。


实际上,正如OP Yonatan Maman 在评论中提到问题的实际根源:错误 240033

从 3.3 升级到 3.4 后,开放类型和开放类型层次结构
对话框不再起作用。

所以最新的 Ubuntu 失败了,但 RHEL 5 没问题。

链接到仅影响新版本的 GNOME gail 问题(bug 575873) GTK+GAIL,如 Fedora 9 和 10、Ubuntu 8.04 和 8.10 等。

在 eclipse3.5 中修复:最终修复提到:

/*
 *  Bug in GTK. With GTK 2.12, when assistive technologies is on, the time
 * it takes to add or remove several rows to the model is very long. This
 * happens because the accessible object asks each row for its data, including
 * the rows that are not visible. The the fix is to block the accessible object
 * from receiving row_added and row_removed signals and, at the end, send only
 * a notify signal with the "model" detail.
 */

alt text

Well, someone has actually the exact same issue on developerworks!
Oh wait... that would be you ;)

May be RSA is preventing the Java initialization job to even start, which would be a problem as commented in bug 192112.

If not, a new bug on bugs.eclipse.org would be in order.


Actually, as the OP Yonatan Maman mentions in the comments the actual source of the problem: bug 240033.

After upgrading from 3.3 to 3.4, both the Open Type and Open Type Hierarchy
dialogs no long work.

So latest Ubuntu fails, but RHEL 5 is ok.

Linked to a GNOME gail issue (bug 575873) affecting only on new version of GTK+GAIL, as in Fedora 9 and 10, Ubuntu 8.04 and 8.10, etc.

Fixed in eclipse3.5: the final fix mentions:

/*
 *  Bug in GTK. With GTK 2.12, when assistive technologies is on, the time
 * it takes to add or remove several rows to the model is very long. This
 * happens because the accessible object asks each row for its data, including
 * the rows that are not visible. The the fix is to block the accessible object
 * from receiving row_added and row_removed signals and, at the end, send only
 * a notify signal with the "model" detail.
 */

alt text

王权女流氓 2024-08-11 05:27:46

正如错误跟踪器中推测的那样,这是一个 GTK 问题。

将以下内容放入位于 eclipse 安装目录中的 eclipse.ini 中,应该可以解决/解决该问题:

--launcher.GTK_version
2

这应该放在 -startup 参数下。例如:

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
--launcher.GTK_version
2

As speculated in the bug tracker it's a GTK issue.

Putting following in your eclipse.ini, which is located in your eclipse installation directory, should solve/workaround the issue:

--launcher.GTK_version
2

This should be put under the -startup parameter. E.g.:

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
--launcher.GTK_version
2
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文