Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in log Circular reference detected trying to get service {org.eclipse.m2e.core.project.IMavenProjectChangedListener #1405

Open
vogella opened this issue May 31, 2023 · 7 comments

Comments

@vogella
Copy link
Contributor

vogella commented May 31, 2023

I see the following error in my log

bundle org.apache.felix.scr:2.2.6 (555) Circular reference detected trying to get service {org.eclipse.m2e.core.project.IMavenProjectChangedListener}={service.id=223, service.bundleid=691, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.WorkspaceStateWriter, component.id=44}
stack of references: ServiceReference: {org.eclipse.m2e.core.project.IMavenProjectChangedListener}={service.id=223, service.bundleid=691, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.WorkspaceStateWriter, component.id=44}
ServiceReference: {org.eclipse.m2e.core.project.IMavenProjectRegistry}={service.id=216, service.bundleid=691, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.registry.MavenProjectManager, component.id=47}
Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.embedder.MavenModelManager (33)] reference [projectManager]

@laeubi
Copy link
Member

laeubi commented May 31, 2023

I see the following error in my log

Please provide what functional error you see (e.g. what is not working, missing or not behave as expected)

@vogella
Copy link
Contributor Author

vogella commented May 31, 2023

I see the following error in my log

Please provide what functional error you see (e.g. what is not working, missing or not behave as expected)

I only see this logged as error during startup, I did not even use M2E.

@vogella
Copy link
Contributor Author

vogella commented Oct 5, 2023

I still this at a client also in the error log with M2E - Maven Integration for Eclipse 2.4.100.20230827-1557 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e

bundle org.apache.felix.scr:2.2.6 (45) Circular reference detected trying to get service {org.eclipse.m2e.core.project.IMavenProjectChangedListener}={service.id=222, service.bundleid=368, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.WorkspaceStateWriter, component.id=34}
 stack of references: ServiceReference: {org.eclipse.m2e.core.project.IMavenProjectChangedListener}={service.id=222, service.bundleid=368, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.WorkspaceStateWriter, component.id=34}
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.internal.project.registry.MavenProjectManager (37)] reference [MavenProjectChangedListener]
ServiceReference: {org.eclipse.m2e.core.project.IMavenProjectRegistry}={service.id=215, service.bundleid=368, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.registry.MavenProjectManager, component.id=37}
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.embedder.MavenModelManager (22)] reference [projectManager]
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.embedder.MavenModelManager (22)] reference [projectManager]
ServiceReference: {org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager}={service.id=213, service.bundleid=368, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager, component.id=39}

@vogella
Copy link
Contributor Author

vogella commented Oct 5, 2023

It does not seem to make a functional impact but the exception is re-created twice during restart.

@jonahgraham
Copy link

I got this error too when doing upgrade tests on the Eclipse IDE for RCP and RAP developers from 2023-09 to 2023-12 M1. On some simple experiments I cannot see this error when running 2022-12 M1 or 2023-09 on its own, it was only after upgrading that the problem happens. Doing a second try with the upgrade showed the same error.

Running Eclipse with -clean resolves the error.

@vogella
Copy link
Contributor Author

vogella commented Oct 6, 2023

Thanks for the tip @jonahgraham. I now see The -clean (osgi.clean) option was not successful. Unable to clean the storage area: C:\dev\Eclipse\eclipse-2023-12-M1\eclipse\configuration\org.eclipse.osgi but the error described here is gone. ;-)

@jukzi
Copy link

jukzi commented May 16, 2024

It does not seem to make a functional impact but the exception is re-created twice during restart.

happend to me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants