Bug 1889417 - Eclipse Repository loader constraint violation after adding JBoss Developer Tools 4.16
Summary: Eclipse Repository loader constraint violation after adding JBoss Developer T...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-m2e-core
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-19 15:53 UTC by space88man
Modified: 2020-10-19 16:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description space88man 2020-10-19 15:53:43 UTC
Description of problem:
After adding the rest of JBoss Developer Tools 4.16.0 to a relatively clean eclipse 
get

An internal error occurred during: "Repository registry initialization".
loader constraint violation: when resolving interface method 'org.apache.maven.index.context.IndexingContext org.apache.maven.index.NexusIndexer.addIndexingContextForced(java.lang.String, java.lang.String, java.io.File, org.apache.lucene.store.Directory, java.lang.String, java.lang.String, java.util.List)' the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @ca944c6 of the current class, org/eclipse/m2e/core/internal/index/nexus/NexusIndexManager, and the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @34e347a5 for the method's defining class, org/apache/maven/index/NexusIndexer, have different Class objects for the type org/apache/lucene/store/Directory used in the signature (org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @ca944c6, parent loader 'platform'; org.apache.maven.index.NexusIndexer is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @34e347a5, parent loader 'platform')


Version-Release number of selected component (if applicable):
eclipse-emf-core-2.22.0-2.fc33.noarch
eclipse-usage-4.16.0-2.fc33.noarch
eclipse-swt-4.16-13.fc33.x86_64
eclipse-m2e-workspace-0.4.0-16.fc33.noarch
eclipse-equinox-osgi-4.16-13.fc33.x86_64
eclipse-ecf-core-3.14.8-5.fc33.noarch
eclipse-platform-4.16-13.fc33.x86_64
eclipse-jdt-4.16-13.fc33.noarch
eclipse-emf-runtime-2.22.0-2.fc33.noarch
eclipse-gef-3.11.0-13.fc33.noarch
eclipse-webtools-common-3.18.0-5.fc33.noarch
eclipse-p2-discovery-4.16-13.fc33.noarch
eclipse-webtools-servertools-3.18.0-5.fc33.noarch
eclipse-emf-xsd-2.22.0-2.fc33.noarch
eclipse-webtools-sourceediting-3.18.0-5.fc33.noarch
eclipse-m2e-core-1.16.1-2.fc33.noarch
eclipse-mpc-1.8.3-2.fc33.noarch
eclipse-pydev-7.7.0-1.fc33.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Remove ~/.eclipse
2. Note: part of JBoss Developer Tools 4.16.0 comes installed
3. Got to Marketplace, install every feature of 4.16.0.

Actual results:

On restart the following mesage
An internal error occurred during: "Repository registry initialization".
loader constraint violation: when resolving interface method 'org.apache.maven.index.context.IndexingContext org.apache.maven.index.NexusIndexer.addIndexingContextForced(java.lang.String, java.lang.String, java.io.File, org.apache.lucene.store.Directory, java.lang.String, java.lang.String, java.util.List)' the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @ca944c6 of the current class, org/eclipse/m2e/core/internal/index/nexus/NexusIndexManager, and the class loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @34e347a5 for the method's defining class, org/apache/maven/index/NexusIndexer, have different Class objects for the type org/apache/lucene/store/Directory used in the signature (org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @ca944c6, parent loader 'platform'; org.apache.maven.index.NexusIndexer is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @34e347a5, parent loader 'platform')

Expected results:
Features are added with no errors


Additional info:

Comment 1 space88man 2020-10-19 15:54:48 UTC
java-11-openjdk-11.0.9.10-0.0.ea.fc33.x86_64

Comment 2 space88man 2020-10-19 16:02:01 UTC
For comparison: when using upstream Eclipse 2020-09 JEE build and installing JBoss Tools 4.17.0 the error does not occur.


Note You need to log in before you can comment on or make changes to this bug.