Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Issue with 'Invalid registry object' on Eclipse RCP based app since 4.21

I forgot to add the error log with the full stacktraces

On Tue, Nov 23, 2021 at 3:51 PM Martin D'Aloia <martindaloia@xxxxxxxxx> wrote:
Hi all!

We have an Eclipse RCP that we are upgrading to 4.21 (from 4.19) and we encountered a problem (that we are not able to find the origin) during the Update of our app via Update Site.
Same code base but upgrading to 4.20 instead of 4.21 works fine.

During the update process, after the dialog warning that there are unsigned bundles is shown and you select 'Install anyway' several errors are produced. We are getting ~20 errors like this one:

!MESSAGE Exception in org.eclipse.ui.internal.registry.UIExtensionTracker.doRemove: org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object 

(~half of them instead of 'doRemove' it is 'doAdd')

After that, every action triggers more diverse errors and also the app can't be closed (a kill -9 is needed).

Once it is reopened all works ok again and the app is updated.

As we determined that this starts to be problematic for us since 4.21 we looked at the Equinox and Platform sections of https://projects.eclipse.org/projects/eclipse/releases/4.21.0/bugs and found some (maybe) related with this issue:
We enabled tracing for some events of the following bundles but with the amount of information we couldn't see if there is useful information:
  • org.eclipse.osgi
  • org.eclipse.equinox.registry
  • org.eclipse.equinox.p2.core
  • org.eclipse.equinox.p2.engine
While debugging I don't see useful information (just an internal number assigned to the extension/extension-point I think).

Does someone know what could be happening?
Any tips / information that could help us to tackle it?

Many thanks in advance!

Martin

Attachment: error.log
Description: Binary data


Back to the top