JBDS 10 hangs during startup due to "Timeout after waiting 5 seconds to acquire the lock" error
Issue
- After installed JBDS, it does not start. There are some error messages in
$WORKSPACE/studio/configuration/*.logfile:
!ENTRY org.eclipse.osgi 2 0 2017-01-02 13:07:10.500
!MESSAGE While loading class "org.jboss.ide.eclipse.as.core.JBossServerCorePlugin", thread "Thread[Worker-7,5,main]" timed out waiting (5002ms) for thread "Thread[Worker-3,5,main]" to finish starting bundle "org.jboss.ide.eclipse.as.core_3.2.2.v20161121-2100 [939]". To avoid deadlock, thread "Thread[Worker-7,5,main]" is proceeding but "org.jboss.ide.eclipse.as.core.JBossServerCorePlugin" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.jboss.ide.eclipse.as.core"; type="osgi.bundle"; version:Version="3.2.2.v20161121-2100"; singleton:="true" [id=939] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 57 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Environment
- Red Hat JBoss Developer Studio (JBDS)
- 10.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.