Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2404

Deadlock when creating a CBR java project

    Details

      Description

      in log:

      !ENTRY org.eclipse.core.jobs 4 2 2017-05-15 13:20:27.564
      !MESSAGE Deadlock detected. All locks owned by thread Worker-28 will be suspended.
      !STACK 0
      java.lang.IllegalStateException
      	at org.eclipse.core.internal.jobs.DeadlockDetector.reportDeadlock(DeadlockDetector.java:599)
      	at org.eclipse.core.internal.jobs.DeadlockDetector.lockWaitStart(DeadlockDetector.java:403)
      	at org.eclipse.core.internal.jobs.LockManager.addLockWaitThread(LockManager.java:154)
      	at org.eclipse.core.internal.jobs.OrderedLock.doAcquire(OrderedLock.java:168)
      	at org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:106)
      	at org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:82)
      	at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:122)
      	at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2188)
      	at org.eclipse.core.internal.resources.Project$1.run(Project.java:537)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:529)
      	at org.eclipse.core.internal.resources.Project.build(Project.java:112)
      	at org.fusesource.ide.camel.model.service.core.util.JavaCamelFilesFinder.findJavaDSLRouteBuilderClass(JavaCamelFilesFinder.java:50)
      	at org.fusesource.ide.projecttemplates.maven.CamelProjectConfigurator.checkCamelContextsExist(CamelProjectConfigurator.java:321)
      	at org.fusesource.ide.projecttemplates.maven.CamelProjectConfigurator.configure(CamelProjectConfigurator.java:94)
      	at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:120)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:501)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:494)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:281)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$4.run(ProjectConfigurationManager.java:521)
      	at org.eclipse.m2e.core.internal.embedder.AbstractRunnable.call(AbstractRunnable.java:26)
      	at org.eclipse.m2e.core.internal.embedder.AbstractRunnable.call(AbstractRunnable.java:1)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
      	at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.enableMavenNature(ProjectConfigurationManager.java:518)
      	at org.fusesource.ide.projecttemplates.adopters.configurators.MavenTemplateConfigurator.configureMavenNature(MavenTemplateConfigurator.java:72)
      	at org.fusesource.ide.projecttemplates.adopters.configurators.MavenTemplateConfigurator.configure(MavenTemplateConfigurator.java:46)
      	at org.fusesource.ide.projecttemplates.adopters.AbstractProjectTemplate.create(AbstractProjectTemplate.java:57)
      	at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProjectCreatorRunnable.run(FuseIntegrationProjectCreatorRunnable.java:109)
      	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:437)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:353)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:993)
      	at org.fusesource.ide.projecttemplates.wizards.FuseIntegrationProjectWizard.performFinish(FuseIntegrationProjectWizard.java:78)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      	at org.eclipse.jface.window.Window.open(Window.java:794)
      	at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:99)
      	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      !SUBENTRY 1 org.eclipse.core.jobs 4 2 2017-05-15 13:20:27.566
      !MESSAGE Thread main has locks: R/ and is waiting for lock OrderedLock (0)
      !SUBENTRY 1 org.eclipse.core.jobs 4 2 2017-05-15 13:20:27.566
      !MESSAGE Thread Worker-28 has locks: OrderedLock (0) and is waiting for lock R/
      

      interesting thread stacks:

      Thread [Worker-28] (Suspended)	
      	owns: Object  (id=1128)	
      	waiting for: Object  (id=1134)	
      	Object.wait(long) line: not available [native method]	
      	Object.wait() line: 502	
      	ThreadJob.waitForRun(ThreadJob, IProgressMonitor, InternalJob, Thread) line: 270	
      	ThreadJob.joinRun(ThreadJob, IProgressMonitor) line: 197	
      	JobManager.yieldRule(InternalJob, IProgressMonitor) line: 1526	
      	AutoBuildJob(InternalJob).yieldRule(IProgressMonitor) line: 527	
      	AutoBuildJob(Job).yieldRule(IProgressMonitor) line: 942	
      	DependencyGraphImpl.waitForAllUpdates(IProgressMonitor) line: 691	
      	DependencyGraphImpl.getReferencingComponents(IProject, boolean) line: 126	
      	DependencyGraphImpl.getReferencingComponents(IProject) line: 116	
      	J2EEModuleVirtualComponent(VirtualComponent).getReferencingComponents() line: 579	
      	EarUtilities.getReferencingEARProjects(IProject) line: 274	
      	J2EEModuleVirtualComponent.calculateManifestReferences(IVirtualComponent, boolean) line: 370	
      	J2EEModuleVirtualComponent.cacheManifestReferences() line: 360	
      	J2EEModuleVirtualComponent.getReferences(Map<String,Object>) line: 176	
      	J2EEModuleVirtualComponent.getReferences(boolean, boolean) line: 214	
      	J2EEModuleVirtualComponent.getReferences() line: 207	
      	SingleRootUtil.hasConsumableReferences(IVirtualComponent) line: 217	
      	SingleRootUtil.validateSingleRoot(int) line: 165	
      	SingleRootUtil.isSingleRoot() line: 93	
      	SingleRootExportParticipant.canOptimize(IVirtualComponent, FlatVirtualComponent$FlatComponentTaskModel) line: 90	
      	FlatVirtualComponent.canOptimize() line: 203	
      	FlatVirtualComponent.cacheResources() line: 185	
      	FlatVirtualComponent.getChildModules() line: 160	
      	J2EEFlexProjDeployable(FlatComponentDeployable).getExportModelChildren() line: 252	
      	J2EEFlexProjDeployable(FlatComponentDeployable).getModules() line: 263	
      	J2EEFlexProjDeployable(FlatComponentDeployable).getChildModules() line: 247	
      	ServerModelUtilities.getChildModules(IModule) line: 136	
      	ServerModelUtilities.getChildModules(IModule[]) line: 129	
      	OpenShiftServer(DeployableServer).getChildModules(IModule[]) line: 105	
      	Server.getChildModules(IModule[], IProgressMonitor) line: 2637	
      	Server.visitModule(IModule[], IModuleVisitor, IProgressMonitor) line: 3058	
      	Server.isModuleDeployed(IModule) line: 952	
      	Server.handleModuleProjectChange(IModule, IResourceChangeEvent) line: 904	
      	ResourceManager.publishHandleProjectChange(IResourceDelta, IResourceChangeEvent) line: 1093	
      	ResourceManager$ServerResourceChangeListener$1.visit(IResourceDelta) line: 125	
      	ResourceDelta.accept(IResourceDeltaVisitor, int) line: 64	
      	ResourceDelta.accept(IResourceDeltaVisitor, int) line: 75	
      	ResourceDelta.accept(IResourceDeltaVisitor) line: 48	
      	ResourceManager$ServerResourceChangeListener.resourceChanged(IResourceChangeEvent) line: 119	
      	NotificationManager$1.run() line: 299	
      	SafeRunner.run(ISafeRunnable) line: 42	
      	NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], ResourceChangeEvent, boolean) line: 289	
      	NotificationManager.broadcastChanges(ElementTree, ResourceChangeEvent, boolean) line: 152	
      	Workspace.broadcastBuildEvent(Object, int, int) line: 360	
      	AutoBuildJob.doBuild(IProgressMonitor) line: 147	
      	AutoBuildJob.run(IProgressMonitor) line: 235	
      	Worker.run() line: 55	
      
      Thread [Worker-23] (Suspended)	
      	waiting for: Semaphore  (id=1123)	
      	Object.wait(long) line: not available [native method]	
      	Semaphore.acquire(long) line: 39	
      	OrderedLock.doAcquire(Semaphore, long) line: 170	
      	OrderedLock.acquire(long) line: 106	
      	OrderedLock.acquire() line: 82	
      	WorkManager.checkIn(ISchedulingRule, IProgressMonitor) line: 122	
      	Workspace.prepareOperation(ISchedulingRule, IProgressMonitor) line: 2188	
      	Workspace.run(ICoreRunnable, ISchedulingRule, int, IProgressMonitor) line: 2235	
      	Workspace.run(IWorkspaceRunnable, ISchedulingRule, int, IProgressMonitor) line: 2267	
      	ValidationOperation$1.done(IJobChangeEvent) line: 1447	
      	JobListeners$3.notify(IJobChangeListener, IJobChangeEvent) line: 42	
      	JobListeners.doNotify(JobListeners$IListenerDoit, IJobChangeEvent) line: 106	
      	JobListeners.done(Job, IStatus, boolean) line: 144	
      	JobManager.endJob(InternalJob, IStatus, boolean) line: 694	
      	WorkerPool.endJob(InternalJob, IStatus) line: 105	
      	Worker.run() line: 72	
      
      Thread [Worker-22] (Suspended)	
      	waiting for: Semaphore  (id=1131)	
      	Object.wait(long) line: not available [native method]	
      	Semaphore.acquire(long) line: 39	
      	OrderedLock.doAcquire(Semaphore, long) line: 170	
      	OrderedLock.acquire(long) line: 106	
      	OrderedLock.acquire() line: 82	
      	WorkManager.checkIn(ISchedulingRule, IProgressMonitor) line: 122	
      	Workspace.prepareOperation(ISchedulingRule, IProgressMonitor) line: 2188	
      	Workspace.run(ICoreRunnable, ISchedulingRule, int, IProgressMonitor) line: 2235	
      	NotificationManager$NotifyJob.run(IProgressMonitor) line: 43	
      	Worker.run() line: 55	
      
      Thread [main] (Suspended)	
      	waiting for: Object  (id=1128)	
      	Server.clearModuleCache() line: 2517	
      	J2EEDeployableFactory(ModuleFactoryDelegate).modulesChanged() line: 249	
      	J2EEDeployableFactory.cleanAllDelegates() line: 308	
      	J2EEDeployableFactory.resourceChanged(IResourceChangeEvent) line: 300	
      	NotificationManager$1.run() line: 299	
      	SafeRunner.run(ISafeRunnable) line: 42	
      	NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], ResourceChangeEvent, boolean) line: 289	
      	NotificationManager.broadcastChanges(ElementTree, ResourceChangeEvent, boolean) line: 152	
      	Workspace.broadcastPostChange() line: 374	
      	Workspace.aboutToBuild(Object, int) line: 302	
      	Project$1.run(IProgressMonitor) line: 541	
      	Workspace.run(ICoreRunnable, ISchedulingRule, int, IProgressMonitor) line: 2240	
      	Project.internalBuild(IBuildConfiguration, int, String, Map<String,String>, IProgressMonitor) line: 529	
      	Project.build(int, IProgressMonitor) line: 112	
      	JavaCamelFilesFinder.findJavaDSLRouteBuilderClass(IProject, IProgressMonitor) line: 50	
      	CamelProjectConfigurator.checkCamelContextsExist(IProject, IProgressMonitor) line: 321	
      	CamelProjectConfigurator.configure(ProjectConfigurationRequest, IProgressMonitor) line: 94	
      	JarLifecycleMapping(AbstractLifecycleMapping).configure(ProjectConfigurationRequest, IProgressMonitor) line: 120	
      	ProjectConfigurationManager$3.call(IMavenExecutionContext, IProgressMonitor) line: 501	
      	ProjectConfigurationManager$3.call(IMavenExecutionContext, IProgressMonitor) line: 1	
      	MavenExecutionContext.executeBare(MavenProject, ICallable<V>, IProgressMonitor) line: 176	
      	MavenExecutionContext.execute(MavenProject, ICallable<V>, IProgressMonitor) line: 151	
      	ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationRequest, IProgressMonitor) line: 494	
      	ProjectConfigurationManager.configureNewMavenProjects(List<IProject>, IProgressMonitor) line: 281	
      	ProjectConfigurationManager$4.run(IMavenExecutionContext, IProgressMonitor) line: 521	
      	ProjectConfigurationManager$4(AbstractRunnable).call(IMavenExecutionContext, IProgressMonitor) line: 26	
      	ProjectConfigurationManager$4(AbstractRunnable).call(IMavenExecutionContext, IProgressMonitor) line: 1	
      	MavenExecutionContext.executeBare(MavenProject, ICallable<V>, IProgressMonitor) line: 176	
      	MavenExecutionContext.execute(MavenProject, ICallable<V>, IProgressMonitor) line: 151	
      	MavenExecutionContext.execute(ICallable<V>, IProgressMonitor) line: 99	
      	MavenImpl.execute(ICallable<V>, IProgressMonitor) line: 1355	
      	ProjectConfigurationManager.enableMavenNature(IProject, ResolverConfiguration, IProgressMonitor) line: 518	
      	MavenTemplateConfigurator.configureMavenNature(IProject, IProgressMonitor) line: 72	
      	MavenTemplateConfigurator.configure(IProject, NewProjectMetaData, IProgressMonitor) line: 46	
      	CBRTemplate(AbstractProjectTemplate).create(IProject, NewProjectMetaData, IProgressMonitor) line: 57	
      	FuseIntegrationProjectCreatorRunnable.run(IProgressMonitor) line: 109	
      	ModalContext.runInCurrentThread(IRunnableWithProgress, IProgressMonitor) line: 437	
      	ModalContext.run(IRunnableWithProgress, boolean, IProgressMonitor, Display) line: 353	
      	WizardDialog.run(boolean, boolean, IRunnableWithProgress) line: 993	
      	FuseIntegrationProjectWizard.performFinish() line: 78	
      	WizardDialog.finishPressed() line: 790	
      	WizardDialog.buttonPressed(int) line: 423	
      	Dialog$2.widgetSelected(SelectionEvent) line: 618	
      	TypedListener.handleEvent(Event) line: 249	
      	EventTable.sendEvent(Event) line: 84	
      	Display.sendEvent(EventTable, Event) line: 4418	
      	Button(Widget).sendEvent(Event) line: 1079	
      	Display.runDeferredEvents() line: 4236	
      	Display.readAndDispatch() line: 3824	
      	WizardDialog(Window).runEventLoop(Shell) line: 818	
      	WizardDialog(Window).open() line: 794	
      	WizardShortcutAction.run() line: 99	
      	WizardShortcutAction(Action).runWithEvent(Event) line: 473	
      	ActionContributionItem.handleWidgetSelection(Event, boolean) line: 565	
      	ActionContributionItem.lambda$4(Event) line: 397	
      	537452455.handleEvent(Event) line: not available	
      	EventTable.sendEvent(Event) line: 84	
      	Display.sendEvent(EventTable, Event) line: 4418	
      	MenuItem(Widget).sendEvent(Event) line: 1079	
      	Display.runDeferredEvents() line: 4236	
      	Display.readAndDispatch() line: 3824	
      	PartRenderingEngine$4.run() line: 1121	
      	Realm.runWithDefault(Realm, Runnable) line: 336	
      	PartRenderingEngine.run(MApplicationElement, IEclipseContext) line: 1022	
      	E4Workbench.createAndRunUI(MApplicationElement) line: 150	
      	Workbench$5.run() line: 693	
      	Realm.runWithDefault(Realm, Runnable) line: 336	
      	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 610	
      	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 148	
      	IDEApplication.start(IApplicationContext) line: 138	
      	EclipseAppHandle.run(Object) line: 196	
      	EclipseAppLauncher.runApplication(Object) line: 134	
      	EclipseAppLauncher.start(Object) line: 104	
      	EclipseStarter.run(Object) line: 388	
      	EclipseStarter.run(String[], Runnable) line: 243	
      	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
      	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62	
      	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43	
      	Method.invoke(Object, Object...) line: 498	
      	Main.invokeFramework(String[], URL[]) line: 673	
      	Main.basicRun(String[]) line: 610	
      	Main.run(String[]) line: 1519	
      	Main.main(String[]) line: 1492	
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lhein Lars Heinemann
                Reporter:
                aurelien.pupier Aurélien Pupier
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: