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

OsgiDS circular reference in m2e #96

Open
nedtwigg opened this issue Feb 26, 2023 · 3 comments
Open

OsgiDS circular reference in m2e #96

nedtwigg opened this issue Feb 26, 2023 · 3 comments
Labels
bug Something isn't working solstice-osgi

Comments

@nedtwigg
Copy link
Collaborator

nedtwigg commented Feb 26, 2023

We're getting the following errors on startup with the m2e plugin. If you do --useAtomos=true then they all go away (but you get other harder-to-fix errors). Even with these errors, the IDE starts, you can import a project, and it compiles and runs tests fine.

bundle org.apache.felix.scr:0.0.0 (327) Circular reference detected trying to get service dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
 stack of references: ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.internal.project.registry.MavenProjectManager (20)] reference [MavenProjectChangedListener]
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.embedder.MavenModelManager (6)] reference [projectManager]
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@1de5cc88
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@4ef5dd23
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.internal.project.registry.MavenProjectManager (20)] reference [MavenProjectChangedListener]
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@55adcf9e
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.internal.project.ProjectConfigurationManager (15)] reference [mavenModelManager]
bundle org.apache.felix.scr:0.0.0 (327) Circular reference detected trying to get service dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
 stack of references: ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.internal.project.registry.MavenProjectManager (20)] reference [MavenProjectChangedListener]
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
    Dependency: DependencyManager: Component [Component: org.eclipse.m2e.core.embedder.MavenModelManager (6)] reference [projectManager]
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@1de5cc88
bundle org.apache.felix.scr:0.0.0 (327) Circular reference detected trying to get service dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
 stack of references: ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@4ef5dd23
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@55adcf9e
bundle org.apache.felix.scr:0.0.0 (327) Circular reference detected trying to get service dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@66d3b881
 stack of references: ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@4ef5dd23
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@66d3b881
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@7cff3f1d
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@6fa02932
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@2035d65b
bundle org.apache.felix.scr:0.0.0 (327) Circular reference detected trying to get service dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
 stack of references: ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@609b041c
ServiceReference: dev.equo.solstice.ServiceRegistry$ShimServiceFactoryReference@d9f5fce
@nedtwigg
Copy link
Collaborator Author

Fixed!

@nedtwigg
Copy link
Collaborator Author

Oops, not fixed, just not present in M2E 1.x on Java 11. In M2E 2.x on Java 17, it is still present.

@nedtwigg nedtwigg reopened this Mar 15, 2023
@nedtwigg
Copy link
Collaborator Author

The error we get as of plugin-maven 1.0

bundle org.apache.felix.scr:0.0.0 (281) Circular reference detected trying to get service [org.eclipse.m2e.core.embedder.IMavenConfiguration]
 stack of references: ServiceReference: [org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob, org.eclipse.core.resources.IResourceChangeListener]
ServiceReference: [org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager]
ServiceReference: [org.eclipse.m2e.core.embedder.IMavenConfiguration]
ServiceReference: [org.eclipse.m2e.core.embedder.IMaven, org.eclipse.m2e.core.embedder.IMavenConfigurationChangeListener]
ServiceReference: [org.eclipse.m2e.core.internal.embedder.PlexusContainerManager]
ServiceReference: [org.codehaus.plexus.logging.LoggerManager]

We're also getting

Plugin org.eclipse.team.genericeditor.diff.extension, extension org.eclipse.ui.editors: Unknown editor with id: org.eclipse.ui.genericeditor.GenericEditor

but I can't find the bad effects of these for now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solstice-osgi
Projects
None yet
Development

No branches or pull requests

1 participant