Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8(org.eclipse.ui: org.eclipse.swt.SWTError: No more handles; tries to exit on File > Open)
Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1828946] Mon, 22 June 2020 22:59 Go to next message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
#### Problem Description
Eclipse launches, terminal window is functional and About details may be displayed. However File > Open raises an Unhandled event loop exception and wants to exit. 2020-06 newly installed into /tmp for testing. An existing version of Eclipse 3.8 exits on mounted removable media.

#### Platform and Environment
+ Eclipse Binary: www.eclipse.org/downloads distribution
+ OS: HP ThinPro 7.1.0 Build 18 (Latest), OEM'd Linux Ubuntu 16.04LTS x86_64
+ Java: OpenJDK 1.8.0.242-8u242-b08-0ubuntu3~16.04-b08
+ HW: HP ThinClient. Packages not allowed to be installed to root flash (invalidate support) so are USB sticks. Eclipse 2020-06 in /tmp for testing before, prospectively, being reinstalled (using the installer) to mount point outside of OS root. HP ThinPro 7.1.0 is distributed with Firefox 68.9.0

#### Attempted Resolution
1. Consulted the FAQ section "Know Issues", "General Problems: General Startup"
2. Tried alternative JREs: Oracle jdk1.8.0_202 and Oracle jdk-11.0.2 tried with same result
3. Tried adding Firefox location to `MOZILLA_FIVE_HOME` and prepending that to `LD_LIBRARY_PATH` (see panel)
5. Tried defining `swt.browser.DefaultType` in eclipse.ini as follows `org.eclipse.swt.browser.DefaultType="mozilla,webkit"`
4. Consulted the Beginners Forum

ECLIPSE_HOME=/tmp/jee-2020-06/eclipse \
MOZILLA_FIVE_HOME=/opt/firefox \
LD_LIBRARY_PATH=${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH} \
/tmp/jee-2020-06/eclipse/eclipse


Eclipse launches but with warnings:

** (eclipse:16505): WARNING **: Couldn't connect to accessibility bus: Empty address ''

** (java:16532): WARNING **: Couldn't connect to accessibility bus: Empty address ''
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
***WARNING: GTK+ version too old (micro mismatch)
***WARNING: SWT requires GTK 3.20.0
***WARNING: Detected: 3.18.9

(Eclipse:16532): Gtk-WARNING **: Theme parsing error: <data>:7:18: '-gtk-key-bindings' is not a valid property name
(Eclipse:16532): Gtk-WARNING **: Theme parsing error: <data>:31:11: 'min-height' is not a valid property name
org.eclipse.m2e.logback.configuration: Logback config file: /writable/home/michael/eclipse-workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.16.0.20200318-1040.xml
org.eclipse.m2e.logback.configuration: Initializing logback


#### Configuration Log
* Pastebin: xqVHSpsT

Thank you in advance.
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1828966 is a reply to message #1828946] Tue, 23 June 2020 12:03 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3829
Registered: July 2009
Senior Member

Do you have an error log you can post? It would be hidden in your workspace directory as the .metadata/.log file.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1828971 is a reply to message #1828946] Tue, 23 June 2020 13:16 Go to previous messageGo to next message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
Nitin, many thanks for a prompt reply.

I'm totally new to Eclipse and had never used 3.8, so please bear with me -- even the concept of what a workspace or the workspace is, isn't yet fully understood.

$ find ~ -name '*metadata*.log' -ls 2> /dev/null
$ find ~ -name '*workspace*.log' -ls 2> /dev/null
$ find ~ -name '*eclipse*.log' -ls 2> /dev/null
    42234      0 drwxr-xr-x   1 michael  telco          38 Jun 22 08:08 /home/michael/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log
$ ls -l /home/michael/eclipse-workspace/.metadata/.plugins/org.eclipse.ui.views.log
total 4
-rw-r--r-- 1 michael telco 729 Jun 22 22:27 dialog_settings.xml


Unless I'm doing it wrong, there aren't any log files under the workspace (it suggested to create in my home directory (rather than /tmp) and I accepted so they should be there, not in /tmp), but I've checked:

$ cd /tmp
$ find . -name '*metadata*.log' -ls 2> /dev/null
$ find . -name '*workspace*.log' -ls 2> /dev/null
$ find . -name '*eclipse*.log' -ls 2> /dev/null


Exporting to a file from the Eclipse workspace of course throws the same error, so I've used the copy to clipboard and put-up a couple of the red fatal "Unhandled event loop exception"s here:
* https://pastebin.com/t5PP696z

Again, thank you for your help -- it's much appreciated.
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1828989 is a reply to message #1828971] Tue, 23 June 2020 16:43 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3829
Registered: July 2009
Senior Member

The log file's name is simply ".log".

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829003 is a reply to message #1828946] Tue, 23 June 2020 20:45 Go to previous messageGo to next message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
Nitin, thanks for your patience.

$ cd
$ find . -name .log -ls
find: â: Permission denied
find: â: Permission denied
    42724      0 -rw-r--r--   1 michael  telco           0 Jun 22 22:46 ./eclipse-workspace/.metadata/.plugins/org.eclipse.rse.core/.log
    42184     92 -rw-r--r--   1 michael  telco       92702 Jun 23 13:55 ./eclipse-workspace/.metadata/.log


Not a hidden dot directory -- I made a baseless assumption. The .log is here:
* https://pastebin.com/8u017Khj

Thanks for your prompt reply and help -- appreciated

Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829015 is a reply to message #1829003] Wed, 24 June 2020 02:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3829
Registered: July 2009
Senior Member

I think you need a newer GTK version. https://www.eclipse.org/swt/faq.php#gtkstartup details the version requirements.

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Wed, 24 June 2020 02:00]

Report message to a moderator

Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829025 is a reply to message #1829015] Wed, 24 June 2020 07:15 Go to previous messageGo to next message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
Hi Nitin, gtk3.18.9 is part of the HP ThinPro 7.1.0 Build 18 Service Pack 8 (release notes: ftp://ftp.hp.com/pub/tcdebian/updates/7.1.0/service_packs/ThinPro7.1_SP-8.5.txt).

$ dpkg -l | grep gtk
ii  gir1.2-gtk-3.0:amd64                3.18.9-1ubuntu3.3           amd64   GTK+ graphical user interface library -- gir bindings
ii  libgirara-gtk3-2:amd64              0.2.5-1                     amd64   library for minimalistic user interfaces (shared libraries, GTK+ 3)
ii  libgtk-3-0:amd64                    3.18.9-1ubuntu3.3           amd64   GTK+ graphical user interface library
ii  libgtk-3-bin                        3.18.9-1ubuntu3.3           amd64   programs for the GTK+ graphical user interface library
ii  libgtk-3-common                     3.18.9-1ubuntu3.3           all     common files for the GTK+ graphical user interface library
ii  libgtk2.0-0:amd64                   2.24.30-1ubuntu1.16.04.2    amd64   GTK+ graphical user interface library
ii  libgtk2.0-common                    2.24.30-1ubuntu1.16.04.2    all     common files for the GTK+ graphical user interface library
ii  libgtkglext1:amd64                  1.2.0-3.2fakesync1ubuntu1   amd64   OpenGL Extension to GTK+ (shared libraries)
ii  libjavascriptcoregtk-1.0-0:amd64    2.4.11-0ubuntu0.1           amd64   JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-4.0-18:amd64   2.26.1-0ubuntu0.18.04.1     amd64   JavaScript engine library from WebKitGTK+
ii  libwebkit2gtk-4.0-37:amd64          2.26.1-0ubuntu0.18.04.1     amd64   Web content engine library for GTK+
ii  libwebkit2gtk-4.0-37-gtk2           2.26.1-0ubuntu0.18.04.1     all     Transitional dummy package
ii  libwebkitgtk-1.0-0:amd64            2.4.11-0ubuntu0.1           amd64   Web content engine library for GTK+
ii  libwebkitgtk-1.0-common             2.4.11-0ubuntu0.1           all     Web content engine library for GTK+ - data files
ii  python-gtk2                         2.24.0-4ubuntu1             amd64   Python bindings for the GTK+ widget set


Anything that's installed in the package database is delivered by HP in their OEM'd version of Ubuntu 16.04LTS. 16.04LTS is in mid term maintenance (https://ubuntu.com/blog/what-is-an-ubuntu-lts-release). I am not aware of HP's plans to rebase on a later release. I cannot recall any wanted package not available because of use too old a release of the OS so would be surprised if the conclusion of this is that Eclipse simply isn't available to HP's entire thin client base.

Kind regards
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829450 is a reply to message #1829025] Fri, 03 July 2020 20:52 Go to previous messageGo to next message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
Quote:

> I think you need a newer GTK version.
> https://www.eclipse.org/swt/faq.php#gtkstartup
> details the version requirements.


Quote:

| Q: Which GTK version do I need to run SWT?
| * Eclipse/SWT 3.8.x: GTK+ 2.6.0 and its dependencies


Per the subject-line, GTK+ 3.18.9 is newer than 2.6.0, so, unless I've misread or misunderstood the FAQ topic cited, I don't understand why I need a newer version.

Apart from that, the version of GTK+, GTK+ 3.18.9, is not something I have any control over. If Zoom (with its bidirectional AV) and many apps couldn't run on HP ThinPro, then I'd willingly accept that I was being unrealistic in expecting a modern app to run on such an antique. But that isn't the case.

HP ThinPro 7.1.0 Build 18 Service Pack 8 is the latest (last updated a couple of months ago). Whilst one might wish for HP to update to a later base than Ubuntu 16.04LTS, if they thought it was preventing Customers from running contemporary apps, I'd imagine that they'd have re-based it. I'm surprised and disappointed that Eclipse is unusual in not being able to run on HP ThinPro 7.1.0/Ubuntu 16.04.
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829463 is a reply to message #1829450] Sat, 04 July 2020 05:31 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3829
Registered: July 2009
Senior Member

2020-06 is Eclipse/SWT 4.16. That means GTK 3.20 is what's expected, and the 4.16 plan details Ubuntu 20 LTS as a target O.S.

"org.eclipse.swt.SWTError: No more handles" is not something you usually see on on startup, so the fact that your installed version of GTK is below the expected minimum is the first thing that stood out as a possible problem--that, and your Java Runtime's "vendor" property is reported as "Private Build". Either way, this sounds like something to ask HP support about. There's no way to tell if something they've done to make their thin client OS work or be secure is somehow involved and actually the cause.


Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Launch Issue with 2020-06 on Ubuntu 16.04 x86_64 GTK 3.18.9 JRE 8 [message #1829528 is a reply to message #1829463] Mon, 06 July 2020 08:11 Go to previous message
M Jackson is currently offline M JacksonFriend
Messages: 6
Registered: June 2020
Junior Member
Please see point No. 2. Under attempted resolution in the OP that addressed the matter of JRE version.

Thank you.
Previous Topic:Error installing Eclipse
Next Topic:Garbled characters in Eclipse/Spring Tool Suite UI
Goto Forum:
  


Current Time: Sat Sep 19 06:56:49 GMT 2020

Powered by FUDForum. Page generated in 0.03761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top