Bug #9407
closedDeadlock detected. All locks owned by thread main will be suspended.
100%
Description
После импорта проектов в workspace среды, Eclipse завиcла на выполнении задачи 'Check Requality Project' для импортированного проекта.
В логе следующие записи:!ENTRY org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.732
!MESSAGE Deadlock detected. All locks owned by thread main 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.ThreadJob.waitForRun(ThreadJob.java:261)
at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:307)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:121)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2188)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1586)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:321)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:315)
at com.unitesk.requality.eclipse.Activator$9$1.run(Activator.java:877)
......
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.733
!MESSAGE Thread main has locks: OrderedLock (0) and is waiting for lock P/GS_2017_impv3_reqs
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.733
!MESSAGE Thread Worker-7 has locks: R/, P/GS_2017_impv3, P/GS_2017_impv3_reqs and is waiting for lock OrderedLock (0)
!ENTRY org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Deadlock detected. All locks owned by thread main 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.ThreadJob.waitForRun(ThreadJob.java:261)
at org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:197)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:92)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:307)
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:121)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2188)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1586)
at org.eclipse.core.internal.resources.File.refreshLocal(File.java:316)
at com.unitesk.requality.eclipse.core.ResourceStorage.<init>(ResourceStorage.java:128)
at com.unitesk.requality.eclipse.core.EclipseTracker.loadTreeDB(EclipseTracker.java:565)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:437)
at com.unitesk.requality.eclipse.core.EclipseTracker.trackProject(EclipseTracker.java:315)
at com.unitesk.requality.eclipse.Activator$9$1.run(Activator.java:877)
.......
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Thread main has locks: OrderedLock (0) and is waiting for lock P/GS_2017_impv3_reqs
!SUBENTRY 1 org.eclipse.core.jobs 4 2 2018-12-10 12:29:12.915
!MESSAGE Thread Worker-15 has locks: R/, P/GS_2017_impv3_reqs and is waiting for lock OrderedLock (0)
Updated by Denis Kildishev over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Published in build set to 1.2.603
Было решено в 1.0-1.1 путем добавления списка обрабатываемых проектов после чего эта блокировка не должна возникать
Updated by Viktoria Kopach over 4 years ago
- Status changed from Resolved to Verified
Updated by Alexey Khoroshilov about 4 years ago
- Status changed from Verified to Closed