3

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

Machavity
  • 30,841
  • 27
  • 92
  • 100
Yonatan Maman
  • 2,428
  • 1
  • 24
  • 34

2 Answers2

0

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

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

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
Torsten
  • 1,696
  • 2
  • 21
  • 42