Composer 5.3 Linux : Unhandled event loop exception

512 views
Skip to first unread message

David Rouquet

unread,
Oct 2, 2017, 4:46:29 AM10/2/17
to TopBraid Suite Users
Hi dear Topbraid community,

I have been a happy Topbraid Composer user for quite some time but I am now experiencing troubles.
OS : Arch Linux 64 - Gnome 3
Composer version : Latest (tbcfe-5.3.2.v20170621-1517-linux.gtk.x86_64) and same problem with tbcfe-5.3.0-SNAPSHOT.v20170320-1626-linux.gtk.x86_64

Composer launches fine but any time I click on an element in the bottom panel (imports, instances, logs, etc.) I have an Unhandled event loop exception.

I haven't been using composer for a couple of weeks/months, I think that tbcfe-5.3.0 used to work fine but it is also possible that I upgraded without a proper testing at the time.
I tried upgrading to the latest tbcfe-5.3.2.v20170621-1517-linux.gtk.x86_64 but same problem occurs.

I copy my logs below in case anyone can help.
Also would it be possible to send me the link of a previous version for testing ?
(maybe 5.0 or the latest release of the 4th series)

Best Regards
--
David

Here are my relevant logs :

!SESSION 2017-10-02 10:22:36.209 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_92
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_FR
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.topbraid.core 2 0 2017-10-02 10:23:04.547
!MESSAGE Your license does not cover graphStore: org.topbraid.shacl.compact.SHACLCGraphStore. Please contact TopQuadrant for upgrade information.

!ENTRY org.topbraid.core 1 0 2017-10-02 10:23:06.464
!MESSAGE TopBraid Free Edition v5.3.2.v20170621-1517R: started (org.topbraidcomposer.editors.utils.TBCFEPersonality)

!ENTRY org.eclipse.ui 4 0 2017-10-02 10:23:20.005
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles
    at org.eclipse.swt.SWT.error(SWT.java:4559)
    at org.eclipse.swt.SWT.error(SWT.java:4448)
    at org.eclipse.swt.SWT.error(SWT.java:4419)
    at org.eclipse.swt.graphics.Cursor.<init>(Cursor.java:173)
    at org.eclipse.swt.widgets.Display.getSystemCursor(Display.java:2688)
    at org.eclipse.e4.ui.workbench.renderers.swt.SashLayout$2.mouseMove(SashLayout.java:99)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:213)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

David Rouquet

unread,
Oct 2, 2017, 6:26:57 AM10/2/17
to TopBraid Suite Users
Update :
The error is distro specific, Composer works fine under Ubuntu 17.10 (Artful Aardvark) Beta 2 (Live Image).

Still, I am interested in previous Composer versions for testing with Arch Linux...

Best regards
--
David


David Rouquet

unread,
Oct 2, 2017, 7:26:37 AM10/2/17
to TopBraid Suite Users
Workaround :

It seems that the problem is related to libwebkit and gtk3.
I managed to make things work by adding :
--launcher.GTK_version
2
to TopBraid Composer.ini and TopBraid Composer.ini.orig (not sure wich overrides wich...), so GTK2 is used.

My understanding is that those two lines must appear early enough in the file so they are taken into account before the VM creation.
My whole .ini file looks like this :
-startup
plugins
/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins
/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740
--launcher.GTK_version
2
-showsplash
org
.topbraidcomposer.free.splash
-vm
./jre/bin/java
-vmargs
-Xmx2048M
-Xms640M
-XX:SurvivorRatio=16
-XX:NewRatio=3


Hope this helps if someone experience troubles with Topbraid Composer and Archlinux...

Holger Knublauch

unread,
Oct 2, 2017, 6:56:35 PM10/2/17
to topbrai...@googlegroups.com
Hi David,

thanks for reporting the workaround on what appears to be a generic Eclipse platform glitch. We will investigate if we can/should modify our default .ini files. (Needless to say we may not have the exact distribution among our test machines, so it may be difficult to narrow down).

Regards
Holger
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ondřej Netík

unread,
Jan 10, 2018, 7:22:03 AM1/10/18
to TopBraid Suite Users
I'm not using Topbraid, but this workaround solved my problem I had with Collabnet GitEye.

Just saying thank you.

Marco Neumann

unread,
Jan 10, 2018, 7:38:46 AM1/10/18
to topbrai...@googlegroups.com
Thanks David for the info, so far it seems to fix the "Unhandled event
loop exception" issue on 17.10 with
tbcfe5.4.2v201712021851-linux.gtk.x86_64 . And in my case it was
TopBraid Composer.ini.orig that overwrites TopBraid Composer.ini

best,
Marco
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to topbraid-user...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--


---
Marco Neumann
KONA

Marco Neumann

unread,
Mar 9, 2018, 12:22:27 PM3/9/18
to topbrai...@googlegroups.com
further to the topic here. with release TBC 5.5 I had to install the package libwebkitgtk-1.0-0 and configure TBC / Eclipse with Webkit instead of Xulrunner (not installed by default anymore on the latest Ubuntu 17.10 ) by adding the following to the TopBraid Composer.ini.orig (in addition to the above):

-Dorg.eclipse.swt.browser.DefaultType=webkit

restart TBC/Eclipse and you are good to go.




> For more options, visit https://groups.google.com/d/optout.



--


---
Marco Neumann
KONA
Reply all
Reply to author
Forward
0 new messages