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

Long running operation DefaultProjectBuilder.resolveDependencies should not be made in main Thread #1671

Open
RoiSoleil opened this issue Feb 12, 2024 · 0 comments

Comments

@RoiSoleil
Copy link
Contributor

Long running operation DefaultProjectBuilder.resolveDependencies should not be made in main Thread like in ProfileSelectionHandler

See stacktrace :

main [1] (RUNNABLE)
org.apache.maven.project.DefaultProjectBuilder.resolveDependencies line: 224
org.apache.maven.project.DefaultProjectBuilder.build line: 375
org.eclipse.m2e.core.internal.IMavenToolbox.readMavenProjects line: 117
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.lambda$22 line: 939
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$$Lambda$2205/0x0000000800da1e20.call line: not available
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare line: 394
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute line: 275
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute line: 214
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.readProjectsWithDependencies line: 935
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.create line: 219
org.eclipse.m2e.core.internal.project.registry.MavenProjectManager.create line: 105
org.eclipse.m2e.profiles.ui.internal.actions.ProfileSelectionHandler.getMavenProjects line: 169
org.eclipse.m2e.profiles.ui.internal.actions.ProfileSelectionHandler.execute line: 112
org.eclipse.m2e.profiles.ui.internal.actions.ProfileSelectionHandler.execute line: 95
org.eclipse.ui.internal.handlers.HandlerProxy.execute line: 283
org.eclipse.ui.internal.handlers.E4HandlerProxy.execute line: 99
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 line: not available [native method]
jdk.internal.reflect.NativeMethodAccessorImpl.invoke line: 77
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke line: 43
java.lang.reflect.Method.invoke line: 568
org.eclipse.e4.core.internal.di.MethodRequestor.execute line: 58
org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass line: 298
org.eclipse.e4.core.internal.di.InjectorImpl.invoke line: 232
org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke line: 174
org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute line: 165
org.eclipse.core.commands.Command.executeWithChecks line: 488
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks line: 485
org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler line: 213
org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand line: 389
org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand line: 366
org.eclipse.m2e.profiles.ui.internal.actions.GenericCommandActionDelegate.run line: 90
org.eclipse.ui.internal.PluginAction.runWithEvent line: 239
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection line: 580
org.eclipse.jface.action.ActionContributionItem.lambda$4 line: 414
org.eclipse.jface.action.ActionContributionItem$$Lambda$764/0x00000008008f55a0.handleEvent line: not available
org.eclipse.swt.widgets.EventTable.sendEvent line: 89
org.eclipse.swt.widgets.Display.sendEvent line: 4273
org.eclipse.swt.widgets.Widget.sendEvent line: 1066
org.eclipse.swt.widgets.Display.runDeferredEvents line: 4071
org.eclipse.swt.widgets.Display.readAndDispatch line: 3659
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run line: 1155
org.eclipse.core.databinding.observable.Realm.runWithDefault line: 342
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run line: 1046
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI line: 155
org.eclipse.ui.internal.Workbench.lambda$3 line: 648
org.eclipse.ui.internal.Workbench$$Lambda$365/0x00000008004cc6b8.run line: not available
org.eclipse.ui.internal.Workbench.createAndRunWorkbench line: 555
org.eclipse.ui.PlatformUI.createAndRunWorkbench line: 173
org.eclipse.ui.internal.ide.application.IDEApplication.start line: 152
org.eclipse.equinox.internal.app.EclipseAppHandle.run line: 208
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication line: 136
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start line: 104
org.eclipse.core.runtime.adaptor.EclipseStarter.run line: 402
org.eclipse.core.runtime.adaptor.EclipseStarter.run line: 255
org.eclipse.equinox.launcher.Main.invokeFramework line: 651
org.eclipse.equinox.launcher.Main.basicRun line: 588
org.eclipse.equinox.launcher.Main.run line: 1459

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

1 participant