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

BundleException: Unable to acquire the state change lock for the module 'buildship' #3032

Open
testforstephen opened this issue Mar 30, 2023 · 5 comments
Labels

Comments

@testforstephen
Copy link
Collaborator

I encountered some errors in the server log when I opened https://github.com/spring-projects/spring-petclinic as a gradle project. The errors did not occur consistently, so I opened this issue to check if anyone else had the same problem.

!SESSION 2023-03-30 13:57:05.005 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -data c:\Users<name>\AppData\Roaming\Code - Insiders\User\workspaceStorage\c2d6260b73da6e426b91d7bd9c5b1036\redhat.java\jdt_ws

!ENTRY org.eclipse.core.resources 2 10035 2023-03-30 13:57:08.002
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:10.577
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:12.778
!MESSAGE Main thread is waiting

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:14.381
!MESSAGE >> initialize

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:14.386
!MESSAGE Initializing Java Language Server 1.21.0.202303160214

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:14.633
!MESSAGE Uninstalled reference:file:/c:/Users//.vscode-insiders/extensions/yaozheng.vscode-pde-0.9.0/server/org.eclipse.jdt.junit4.runtime_1.2.0.v20210326-1251.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:14.650
!MESSAGE Installed reference:file:/c:/Users//.vscode-insiders/extensions/vscjava.vscode-java-test-0.38.2/server/org.eclipse.jdt.junit4.runtime_1.3.0.v20220609-1843.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.066
!MESSAGE Uninstalled reference:file:/c:/Users//.vscode-insiders/extensions/vscjava.vscode-java-test-0.38.2/server/org.eclipse.jdt.junit4.runtime_1.3.0.v20220609-1843.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.071
!MESSAGE Installed reference:file:/c:/Users//.vscode-insiders/extensions/yaozheng.vscode-pde-0.9.0/server/org.eclipse.jdt.junit4.runtime_1.2.0.v20210326-1251.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.074
!MESSAGE Refresh the bundles

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.731
!MESSAGE Finished Refreshing bundles

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.737
!MESSAGE Started reference:file:/c:/Users//.vscode-insiders/extensions/yaozheng.vscode-pde-0.9.0/server/org.eclipse.jdt.junit4.runtime_1.2.0.v20210326-1251.jar

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.765
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.767
!MESSAGE Non-Static Commands: [java.edit.organizeImports, java.project.refreshDiagnostics, java.project.import, java.navigate.openTypeHierarchy, java.project.removeFromSourcePath, java.project.listSourcePaths, java.project.resolveStackTraceLocation, java.project.getAll, java.reloadBundles, java.project.isTestFile, java.edit.handlePasteEvent, java.project.getClasspaths, java.navigate.resolveTypeHierarchy, java.edit.stringFormatting, java.project.getSettings, java.project.updateSourceAttachment, java.project.resolveWorkspaceSymbol, java.project.upgradeGradle, java.project.createModuleInfo, java.protobuf.generateSources, java.project.resolveSourceAttachment, java.project.addToSourcePath, java.completion.onDidSelect]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.768
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.770
!MESSAGE Non-Static Commands: [java.intellicode.enable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.771
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.772
!MESSAGE Non-Static Commands: [vscode.java.checkProjectSettings, vscode.java.isOnClasspath, vscode.java.fetchUsageData, vscode.java.validateLaunchConfig, vscode.java.resolveInlineVariables, vscode.java.resolveClassFilters, vscode.java.resolveMainMethod, vscode.java.resolveClasspath, vscode.java.resolveBuildFiles, vscode.java.resolveMainClass, vscode.java.updateDebugSettings, vscode.java.resolveSourceUri, vscode.java.fetchPlatformSettings, vscode.java.buildWorkspace, vscode.java.startDebugSession, vscode.java.inferLaunchCommandLength, vscode.java.resolveElementAtSelection, vscode.java.resolveJavaExecutable]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.773
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.774
!MESSAGE Non-Static Commands: [java.project.refreshLib, java.project.list, java.project.generateJar, java.project.getMainClasses, java.getPackageData, java.resolvePath]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.775
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.776
!MESSAGE Non-Static Commands: [java.codeAction.lombok.getAnnotations, java.codeAction.lombok]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.777
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.778
!MESSAGE Non-Static Commands: [java.maven.initializeSearcher, java.maven.searchArtifact, java.maven.addDependency, java.maven.controlContext]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.779
!MESSAGE Static Commands: [sts.java.addClasspathListener, sts.java.removeClasspathListener]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.779
!MESSAGE Non-Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.782
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.827
!MESSAGE Non-Static Commands: [sts.java.javadoc]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.829
!MESSAGE Static Commands: [sts.java.type]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.829
!MESSAGE Non-Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.830
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.831
!MESSAGE Non-Static Commands: [sts.java.javadocHoverLink]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.832
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.833
!MESSAGE Non-Static Commands: [sts.java.location]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.835
!MESSAGE Static Commands: [sts.java.search.packages, sts.java.search.types]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.837
!MESSAGE Non-Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.839
!MESSAGE Static Commands: [sts.java.hierarchy.supertypes, sts.java.hierarchy.subtypes]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.841
!MESSAGE Non-Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.843
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.844
!MESSAGE Non-Static Commands: [sts.java.code.completions]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.846
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.847
!MESSAGE Non-Static Commands: [java.pde.resolveLaunchArguments, java.pde.reloadTargetPlatform, java.pde.resolveJUnitArguments]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.849
!MESSAGE Static Commands: []

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.850
!MESSAGE Non-Static Commands: [vscode.java.test.findJavaProjects, vscode.java.test.findTestPackagesAndTypes, vscode.java.test.findTestTypesAndMethods, vscode.java.test.resolvePath, vscode.java.test.findTestLocation, vscode.java.test.get.testpath, vscode.java.test.findDirectTestChildrenForClass, vscode.java.test.navigateToTestOrTarget, vscode.java.test.junit.argument, vscode.java.test.generateTests]

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.878
!MESSAGE Starting org.eclipse.m2e.core

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:15.879
!MESSAGE Started org.eclipse.m2e.core 2ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.091
!MESSAGE ProjectRegistryRefreshJob finished 207ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.092
!MESSAGE Starting org.eclipse.buildship.core

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.093
!MESSAGE Started org.eclipse.buildship.core 2ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.156
!MESSAGE RepositoryRegistryUpdateJob finished 0ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.202
!MESSAGE >> initialized

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:16.466
!MESSAGE Importing Gradle project(s)

!ENTRY org.eclipse.osgi 2 0 2023-03-30 13:57:34.965
!MESSAGE While loading class "org.eclipse.buildship.core.internal.preferences.PersistentModelConverter$18", thread "Thread[Worker-5: Load persistent model for all projects,5,main]" timed out waiting (30025ms) for thread "Thread[Worker-1: Refreshing workspace,5,main]" to finish starting bundle "org.eclipse.buildship.core_3.1.7.v20221108-1729-s [17]". To avoid deadlock, thread "Thread[Worker-5: Load persistent model for all projects,5,main]" is proceeding but "org.eclipse.buildship.core.internal.preferences.PersistentModelConverter$18" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.1.7.v20221108-1729-s"; osgi.identity="org.eclipse.buildship.core"; singleton:="true" [id=17] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:350)
at org.eclipse.osgi.container.Module.start(Module.java:419)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.buildship.core.internal.preferences.PersistentModelConverter.toModel(PersistentModelConverter.java:189)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.doLoadModel(DefaultModelPersistence.java:130)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:62)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:57)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
at com.google.common.cache.LocalCache.get(LocalCache.java:3951)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$2.run(DefaultModelPersistence.java:193)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 30 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:347)
... 23 more
Caused by: org.eclipse.osgi.framework.util.ThreadInfoReport: Thread dump

ThreadId: 1 ThreadName: main ThreadState: WAITING
Blocked On: java.lang.Object@2750cf5 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.jdt.ls.core.internal.LanguageServerApplication.start(LanguageServerApplication.java:56)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[email protected]/java.lang.reflect.Method.invoke(Unknown Source)
app//org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
app//org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
app//org.eclipse.equinox.launcher.Main.run(Main.java:1467)
app//org.eclipse.equinox.launcher.Main.main(Main.java:1440)

ThreadId: 2 ThreadName: Reference Handler ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
[email protected]/java.lang.ref.Reference.processPendingReferences(Unknown Source)
[email protected]/java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

ThreadId: 3 ThreadName: Finalizer ThreadState: WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@728b965e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

ThreadId: 4 ThreadName: Signal Dispatcher ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 5 ThreadName: Attach Listener ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 13 ThreadName: Common-Cleaner ThreadState: TIMED_WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@43997880 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/jdk.internal.ref.CleanerImpl.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)
[email protected]/jdk.internal.misc.InnocuousThread.run(Unknown Source)

ThreadId: 14 ThreadName: Notification Thread ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 16 ThreadName: Active Thread: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@22376c32 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 18 ThreadName: Framework Event Dispatcher: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@88fde25 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 19 ThreadName: Start Level: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@633a51fb LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 20 ThreadName: SCR Component Actor ThreadState: WAITING
Blocked On: java.util.LinkedList@2618900c LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:83)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 22 ThreadName: Worker-JM ThreadState: TIMED_WAITING
Blocked On: java.util.ArrayList@2e4db137 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:61)

ThreadId: 23 ThreadName: Worker-0: Updating Maven Dependencies ThreadState: WAITING
Blocked On: java.lang.Object@37821e30 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:322)
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:208)
org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:95)
org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:316)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.lambda$0(ProjectRegistryRefreshJob.java:160)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob$$Lambda$161/0x0000000100288838.call(Unknown Source)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:394)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:275)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:214)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:106)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 24 ThreadName: Worker-1: Refreshing workspace ThreadState: WAITING
Blocked On: com.google.common.util.concurrent.SettableFuture@2370e0ce LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked:
java.util.concurrent.locks.ReentrantLock$NonfairSync@410a8013
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.park(Unknown Source)
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:537)
com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:104)
com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:240)
com.google.common.cache.LocalCache$LoadingValueReference.waitForValue(LocalCache.java:3582)
com.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2175)
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2162)
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
com.google.common.cache.LocalCache.get(LocalCache.java:3951)
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4941)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.loadModel(DefaultModelPersistence.java:70)
org.eclipse.buildship.core.internal.CorePlugin.scheduleSynchronizationForAbsentModels(CorePlugin.java:223)
org.eclipse.buildship.core.internal.CorePlugin.start(CorePlugin.java:120)
org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:818)
org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
[email protected]/java.security.AccessController.executePrivileged(Unknown Source)
[email protected]/java.security.AccessController.doPrivileged(Unknown Source)
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:810)
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:767)
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1032)
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:371)
org.eclipse.osgi.container.Module.doStart(Module.java:605)
org.eclipse.osgi.container.Module.start(Module.java:468)
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
[email protected]/java.lang.ClassLoader.loadClass(Unknown Source)
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:622)
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:920)
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
org.eclipse.jdt.core.JavaCore.computeClasspathContainerInitializer(JavaCore.java:3862)
org.eclipse.jdt.core.JavaCore.getClasspathContainerInitializer(JavaCore.java:3838)
org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:3127)
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:2094)
org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3815)
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:3271)
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:3435)
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2520)
org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:535)
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:266)
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:597)
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:328)
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:314)
org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:269)
org.eclipse.jdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:2384)
org.eclipse.jdt.internal.core.DeltaProcessor.findContainingPackageFragmentRoot(DeltaProcessor.java:603)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:521)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2114)
org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:501)
org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:307)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:297)
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:160)
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:388)
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1514)
org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1579)
org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:228)
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 25 ThreadName: Worker-2: Compacting resource model ThreadState: WAITING
Blocked On: java.lang.Object@37821e30 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:322)
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:208)
org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:95)
org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:316)
org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:101)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 27 ThreadName: Java indexing ThreadState: WAITING
Blocked On: org.eclipse.jdt.internal.core.search.indexing.IndexManager@4723c82e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.jdt.internal.core.search.processing.JobManager.indexerLoop(JobManager.java:488)
org.eclipse.jdt.internal.core.search.processing.JobManager$$Lambda$157/0x0000000100344238.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 28 ThreadName: Worker-3: Updating workspace ThreadState: TIMED_WAITING
Blocked On: org.eclipse.core.internal.jobs.Semaphore@523cd2c1 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.Semaphore.acquire(Semaphore.java:45)
org.eclipse.core.internal.jobs.OrderedLock.doAcquire(OrderedLock.java:174)
org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:110)
org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:87)
org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:125)
org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2330)
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2375)
org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:46)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 30 ThreadName: JNA Cleaner ThreadState: WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@766e3ed8 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)

ThreadId: 31 ThreadName: Worker-5: Load persistent model for all projects ThreadState: RUNNABLE
Blocked On: org.eclipse.osgi.internal.container.EquinoxReentrantLock@73556366[Locked by thread Worker-1: Refreshing workspace]
Synchronizers Locked: none
Monitors Locked:
java.lang.Object@2f0cc242
com.google.common.cache.LocalCache$StrongEntry@422963e8
Stack Trace:
[email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
[email protected]/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
[email protected]/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
org.eclipse.osgi.framework.util.ThreadInfoReport.getThreadDump(ThreadInfoReport.java:30)
org.eclipse.osgi.framework.util.ThreadInfoReport.(ThreadInfoReport.java:23)
org.eclipse.osgi.container.Module.lockStateChange(Module.java:347)
org.eclipse.osgi.container.Module.start(Module.java:419)
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
[email protected]/java.lang.ClassLoader.loadClass(Unknown Source)
org.eclipse.buildship.core.internal.preferences.PersistentModelConverter.toModel(PersistentModelConverter.java:189)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.doLoadModel(DefaultModelPersistence.java:130)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:62)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:57)
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
com.google.common.cache.LocalCache.get(LocalCache.java:3951)
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$2.run(DefaultModelPersistence.java:193)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 33 ThreadName: pool-2-thread-1 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@45b61d8b LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 34 ThreadName: pool-1-thread-1 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.SynchronousQueue$TransferStack@6a45d8e6 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
[email protected]/java.util.concurrent.SynchronousQueue.poll(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 35 ThreadName: Bundle File Closer ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@ce1c9ad LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 36 ThreadName: Worker-7 ThreadState: TIMED_WAITING
Blocked On: org.eclipse.core.internal.jobs.WorkerPool@60f7399e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:200)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:242)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

ThreadId: 37 ThreadName: Refresh Thread: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@42f1b3b1 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)
... 24 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 30 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:347)
at org.eclipse.osgi.container.Module.start(Module.java:419)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.buildship.core.internal.preferences.PersistentModelConverter.toModel(PersistentModelConverter.java:189)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.doLoadModel(DefaultModelPersistence.java:130)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:62)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:57)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
at com.google.common.cache.LocalCache.get(LocalCache.java:3951)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
at org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$2.run(DefaultModelPersistence.java:193)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.eclipse.osgi.framework.util.ThreadInfoReport: Thread dump

ThreadId: 1 ThreadName: main ThreadState: WAITING
Blocked On: java.lang.Object@2750cf5 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.jdt.ls.core.internal.LanguageServerApplication.start(LanguageServerApplication.java:56)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[email protected]/java.lang.reflect.Method.invoke(Unknown Source)
app//org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
app//org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
app//org.eclipse.equinox.launcher.Main.run(Main.java:1467)
app//org.eclipse.equinox.launcher.Main.main(Main.java:1440)

ThreadId: 2 ThreadName: Reference Handler ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
[email protected]/java.lang.ref.Reference.processPendingReferences(Unknown Source)
[email protected]/java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

ThreadId: 3 ThreadName: Finalizer ThreadState: WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@728b965e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

ThreadId: 4 ThreadName: Signal Dispatcher ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 5 ThreadName: Attach Listener ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 13 ThreadName: Common-Cleaner ThreadState: TIMED_WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@43997880 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/jdk.internal.ref.CleanerImpl.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)
[email protected]/jdk.internal.misc.InnocuousThread.run(Unknown Source)

ThreadId: 14 ThreadName: Notification Thread ThreadState: RUNNABLE
Blocked On: none
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:

ThreadId: 16 ThreadName: Active Thread: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@22376c32 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 18 ThreadName: Framework Event Dispatcher: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@88fde25 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 19 ThreadName: Start Level: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@633a51fb LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 20 ThreadName: SCR Component Actor ThreadState: WAITING
Blocked On: java.util.LinkedList@2618900c LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:83)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 22 ThreadName: Worker-JM ThreadState: TIMED_WAITING
Blocked On: java.util.ArrayList@2e4db137 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:61)

ThreadId: 23 ThreadName: Worker-0: Updating Maven Dependencies ThreadState: WAITING
Blocked On: java.lang.Object@37821e30 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:322)
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:208)
org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:95)
org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:316)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.lambda$0(ProjectRegistryRefreshJob.java:160)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob$$Lambda$161/0x0000000100288838.call(Unknown Source)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:394)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:275)
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:214)
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:106)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 24 ThreadName: Worker-1: Refreshing workspace ThreadState: WAITING
Blocked On: com.google.common.util.concurrent.SettableFuture@2370e0ce LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked:
java.util.concurrent.locks.ReentrantLock$NonfairSync@410a8013
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.park(Unknown Source)
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:537)
com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:104)
com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:240)
com.google.common.cache.LocalCache$LoadingValueReference.waitForValue(LocalCache.java:3582)
com.google.common.cache.LocalCache$Segment.waitForLoadingValue(LocalCache.java:2175)
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2162)
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
com.google.common.cache.LocalCache.get(LocalCache.java:3951)
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4941)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.loadModel(DefaultModelPersistence.java:70)
org.eclipse.buildship.core.internal.CorePlugin.scheduleSynchronizationForAbsentModels(CorePlugin.java:223)
org.eclipse.buildship.core.internal.CorePlugin.start(CorePlugin.java:120)
org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:818)
org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
[email protected]/java.security.AccessController.executePrivileged(Unknown Source)
[email protected]/java.security.AccessController.doPrivileged(Unknown Source)
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:810)
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:767)
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1032)
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:371)
org.eclipse.osgi.container.Module.doStart(Module.java:605)
org.eclipse.osgi.container.Module.start(Module.java:468)
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
[email protected]/java.lang.ClassLoader.loadClass(Unknown Source)
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:622)
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:920)
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
org.eclipse.jdt.core.JavaCore.computeClasspathContainerInitializer(JavaCore.java:3862)
org.eclipse.jdt.core.JavaCore.getClasspathContainerInitializer(JavaCore.java:3838)
org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:3127)
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:2094)
org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3815)
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:3271)
org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:3435)
org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2520)
org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:535)
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:266)
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:597)
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:328)
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:314)
org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:269)
org.eclipse.jdt.internal.core.JavaProject.getPackageFragmentRoots(JavaProject.java:2384)
org.eclipse.jdt.internal.core.DeltaProcessor.findContainingPackageFragmentRoot(DeltaProcessor.java:603)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:521)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.checkProjectsAndClasspathChanges(DeltaProcessor.java:593)
org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:2114)
org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:501)
org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:307)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:297)
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:160)
org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:388)
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1514)
org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1579)
org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:228)
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:43)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 25 ThreadName: Worker-2: Compacting resource model ThreadState: WAITING
Blocked On: java.lang.Object@37821e30 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.core.internal.jobs.ThreadJob.waitForRun(ThreadJob.java:322)
org.eclipse.core.internal.jobs.ThreadJob.joinRun(ThreadJob.java:208)
org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:95)
org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:316)
org.eclipse.core.internal.utils.StringPoolJob.run(StringPoolJob.java:101)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 27 ThreadName: Java indexing ThreadState: WAITING
Blocked On: org.eclipse.jdt.internal.core.search.indexing.IndexManager@4723c82e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.jdt.internal.core.search.processing.JobManager.indexerLoop(JobManager.java:488)
org.eclipse.jdt.internal.core.search.processing.JobManager$$Lambda$157/0x0000000100344238.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 28 ThreadName: Worker-3: Updating workspace ThreadState: TIMED_WAITING
Blocked On: org.eclipse.core.internal.jobs.Semaphore@523cd2c1 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.Semaphore.acquire(Semaphore.java:45)
org.eclipse.core.internal.jobs.OrderedLock.doAcquire(OrderedLock.java:174)
org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:110)
org.eclipse.core.internal.jobs.OrderedLock.acquire(OrderedLock.java:87)
org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:125)
org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:2330)
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2375)
org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:46)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 30 ThreadName: JNA Cleaner ThreadState: WAITING
Blocked On: java.lang.ref.ReferenceQueue$Lock@766e3ed8 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
[email protected]/java.lang.ref.ReferenceQueue.remove(Unknown Source)
com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)

ThreadId: 31 ThreadName: Worker-5: Load persistent model for all projects ThreadState: RUNNABLE
Blocked On: org.eclipse.osgi.internal.container.EquinoxReentrantLock@73556366[Locked by thread Worker-1: Refreshing workspace]
Synchronizers Locked: none
Monitors Locked:
java.lang.Object@2f0cc242
com.google.common.cache.LocalCache$StrongEntry@422963e8
Stack Trace:
[email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
[email protected]/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
[email protected]/sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
org.eclipse.osgi.framework.util.ThreadInfoReport.getThreadDump(ThreadInfoReport.java:30)
org.eclipse.osgi.framework.util.ThreadInfoReport.(ThreadInfoReport.java:23)
org.eclipse.osgi.container.Module.lockStateChange(Module.java:347)
org.eclipse.osgi.container.Module.start(Module.java:419)
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:513)
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:335)
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:397)
org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:500)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
[email protected]/java.lang.ClassLoader.loadClass(Unknown Source)
org.eclipse.buildship.core.internal.preferences.PersistentModelConverter.toModel(PersistentModelConverter.java:189)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence.doLoadModel(DefaultModelPersistence.java:130)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:62)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$1.load(DefaultModelPersistence.java:57)
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
com.google.common.cache.LocalCache.get(LocalCache.java:3951)
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4935)
org.eclipse.buildship.core.internal.preferences.DefaultModelPersistence$2.run(DefaultModelPersistence.java:193)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

ThreadId: 33 ThreadName: pool-2-thread-1 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@45b61d8b LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 34 ThreadName: pool-1-thread-1 ThreadState: TIMED_WAITING
Blocked On: java.util.concurrent.SynchronousQueue$TransferStack@6a45d8e6 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/jdk.internal.misc.Unsafe.park(Native Method)
[email protected]/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
[email protected]/java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
[email protected]/java.util.concurrent.SynchronousQueue.poll(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[email protected]/java.lang.Thread.run(Unknown Source)

ThreadId: 35 ThreadName: Bundle File Closer ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@ce1c9ad LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)

ThreadId: 36 ThreadName: Worker-7 ThreadState: TIMED_WAITING
Blocked On: org.eclipse.core.internal.jobs.WorkerPool@60f7399e LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:200)
org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:242)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

ThreadId: 37 ThreadName: Refresh Thread: Equinox Container: 2e8979ec-ad85-4251-a442-23b6b94b7da6 ThreadState: WAITING
Blocked On: org.eclipse.osgi.framework.eventmgr.EventManager$EventThread@42f1b3b1 LockOwnerId: -1 LockOwnerName: null
Synchronizers Locked: none
Monitors Locked: none
Stack Trace:
[email protected]/java.lang.Object.wait(Native Method)
[email protected]/java.lang.Object.wait(Unknown Source)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)
... 24 more

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.431
!MESSAGE Workspace initialized in 28274ms

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.582
!MESSAGE >> initialization job finished

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.590
!MESSAGE >> workspace/didChangeConfiguration

!ENTRY org.springframework.tooling.jdt.ls.extension 1 0 2023-03-30 13:57:44.605
!MESSAGE Boot project ADDED: spring-petclinic

!ENTRY org.springframework.tooling.jdt.ls.extension 1 0 2023-03-30 13:57:44.607
!MESSAGE About to START Boot LS since Boot project has been detected in the workspace

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.633
!MESSAGE >> registerWatchers'

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.647
!MESSAGE >> registerFeature 'workspace/didChangeWatchedFiles'

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.672
!MESSAGE >> watchers registered

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.737
!MESSAGE >> java/buildWorkspace (incremental)

!ENTRY org.eclipse.jdt.ls.core 1 0 2023-03-30 13:57:44.777
!MESSAGE >> New configuration: ...

@CsCherrYY
Copy link
Contributor

related to eclipse/buildship#1185. We have included a patch (see: eclipse-jdtls/eclipse.jdt.ls#2314) to fix this. It looks like the issue still exists.

@testforstephen
Copy link
Collaborator Author

I'm using [email protected], looks like there are some cases not covered well by that patch. let's observe a while to see how often it happens.

@0dinD
Copy link
Contributor

0dinD commented Jul 1, 2023

I don't think I've run into this issue before. At least, it hasn't bothered me to the point where I looked at the logs and saw an error like this.

However, now that I updated to vscode-java 1.20.0 (from 1.19.0), the language server always gets stuck when importing any Gradle project (with the same Buildship exceptions, "Unable to acquire the state change lock..."), and it happens 100% of the time for me. This means that I can't work on any Gradle projects, unless I downgrade to vscode-java 1.19.0.

However, it is actually possible to work around the issue by running the Developer: Reload Window command in VSCode. After the reload, the project is imported without any issues. That is to say, the issue only ever happens if I close the VSCode window completely and then start VSCode from scratch. Not if I restart via Developer: Reload Window.

Additionally, I found that it only gets stuck if you start VSCode without giving it any arguments, i.e. when letting it "resume" by opening your previous workspace. That is to say (in CLI terms):

  • When I run code <path to Gradle workspace>, the Gradle project is always imported without issues
  • When I run code without arguments (or when clicking the desktop icon), and I had previously opened a Gradle project, the language server always gets stuck when importing the project, and I see the Buildship exceptions in the log file.

Another detail worth pointing out is that the project does eventually get imported, after waiting several minutes. But it takes so long (even for a hello-world project) that I really thought it was completely stuck, especially because of the exceptions in the log.

@CsCherrYY @testforstephen Can you reproduce the issue? Again, for me it happens 100% of the time with vscode-java 1.20.0, if I open a Gradle project. But only when starting VSCode from scratch, after having completely closed it, and only if I let it "resume" my previous Gradle workspace, by launching VSCode without arguments.

Edit: Actually, today I was not able to resolve the issue using Developer: Reload Window. But I was able to import the project after running Java: Clean Java Language Server Workspace. After that, I was actually able to import the project like normal the next time I started VSCode from scratch. But the second (and the third, and the fourth, and so on...) time I closed VSCode and started it from scratch, the issue appeared again, the language server got stuck while importing the project.

@cdavid
Copy link

cdavid commented Jul 19, 2023

Thank you @0dinD for the workaround above!!! I am hitting the same issue (same 100% repro since 1.20) and had to wait multiple times 5+ minutes for the projects to load, but the workaround with Java: Clean Java Language Server Workspace made it work!

Please let me know if I can help in any way.

@0dinD
Copy link
Contributor

0dinD commented Jul 24, 2023

Glad I could help! eclipse-jdtls/eclipse.jdt.ls#2758 was merged, so the regression should be fixed in the next update. If you're impatient, you can try the pre-release version.

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

No branches or pull requests

4 participants