Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] harmless runtime exception during osgi shutdown
[CDO] harmless runtime exception during osgi shutdown [message #1832842] Sat, 26 September 2020 14:16 Go to next message
Robert Schulk is currently offline Robert SchulkFriend
Messages: 144
Registered: July 2015
Senior Member
We always see this during the shutdown for an Eclipse RCP application which uses CDO.

It seems to be harmless, but I would like to get rid of it.
I created a small sample project which simulates this (see attachment).
A second attachment shows the stacktrace.

The exception only appears if the feature.xml includes the feature for RCP applications: org.eclipse.e4.rcp

Is this some misconfiguration on our side?
Re: [CDO] harmless runtime exception during osgi shutdown [message #1832852 is a reply to message #1832842] Sun, 27 September 2020 04:48 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
With the debugger I could find out that the Felix Gogo shell, during its Activator stop, interrupts the wrong thread, i.e., the Equinox stop thread itself instead of the Gogo Shell thread. You can quickly verify that your problem goes away by removing Gogo from your product launch.

Google then showed that it's a known problem in Felix: https://issues.apache.org/jira/browse/FELIX-6046

And it's fixed in gogo.shell-1.1.4: https://github.com/apache/felix/pull/181/commits/ff104db634f48d9009eb51f156400586272c3a29

Unfortunately Eclipse Orbit and, hence, the Platform only contains gogo.shell-1.1.0. I suggest that you submit a bug against the platform and ask for an upgrade of the gogo shell.


Re: [CDO] harmless runtime exception during osgi shutdown [message #1832960 is a reply to message #1832852] Wed, 30 September 2020 06:24 Go to previous message
Robert Schulk is currently offline Robert SchulkFriend
Messages: 144
Registered: July 2015
Senior Member
I created this ticket:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=567461
Previous Topic:CDO understanding commit conflicts
Next Topic:CDO - Issue with partial commit
Goto Forum:
  


Current Time: Fri Apr 26 04:47:20 GMT 2024

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

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

Back to the top