Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4761

To avoid deadlock while executing Display.syncExec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 12.x
    • 12.11.0.AM1
    • updatesite
    • None
    • NEW

      I am getting two errors after installation of devstudio via https://devstudio.redhat.com/12/staging/builds/devstudio-12.11.0.AM1-build-product/2019-02-21_11-13-43-B4114/all/devstudio-12.11.0.latest-updatesite-core.zip into eclipse 2018-12.

      eclipse.buildId=4.10.0.I20181206-0815
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-dev/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.eclipse.ui
      Error
      Mon Feb 25 22:19:47 CET 2019
      To avoid deadlock while executing Display.syncExec() with argument: org.eclipse.oomph.ui.UIUtil$7@bb3fd8a, thread Worker-6: Setup check will interrupt UI thread.
      
      eclipse.buildId=4.10.0.I20181206-0815
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-dev/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.eclipse.ui
      Error
      Mon Feb 25 22:19:47 CET 2019
      UI thread waiting on a job or lock.
      
      java.lang.IllegalStateException: Call stack for thread main
      	at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)
      	at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
      	at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)
      	at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)
      	at java.base@11.0.2/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
      	at java.base@11.0.2/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
      	at java.base@11.0.2/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104)
      	at java.base@11.0.2/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823)
      	at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)
      	at java.base@11.0.2/java.io.BufferedInputStream.read1(BufferedInputStream.java:292)
      	at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
      	at java.base@11.0.2/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:746)
      	at java.base@11.0.2/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
      	at java.base@11.0.2/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604)
      	at java.base@11.0.2/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
      	at java.base@11.0.2/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
      	at java.base@11.0.2/java.net.URL.openStream(URL.java:1117)
      	at org.jboss.tools.central.installation.BundleFamilyExtension.loadStream(BundleFamilyExtension.java:81)
      	at org.jboss.tools.central.installation.BundleFamilyExtension.loadBundleList(BundleFamilyExtension.java:47)
      	at org.jboss.tools.central.installation.InstallationChecker.getUnits(InstallationChecker.java:109)
      	at org.jboss.tools.central.installation.InstallationChecker.getEarlyAccessUnits(InstallationChecker.java:97)
      	at org.jboss.tools.central.installation.InstallationChecker.hasEarlyAccess(InstallationChecker.java:90)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage.updateEarlyAccess(GettingStartedHtmlPage.java:352)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage.access$14(GettingStartedHtmlPage.java:350)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$6$1.run(GettingStartedHtmlPage.java:335)
      	at org.eclipse.ui.internal.PendingSyncExec.run(PendingSyncExec.java:61)
      	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:171)
      	at org.eclipse.ui.internal.UISynchronizer.lambda$0(UISynchronizer.java:153)
      	at org.eclipse.ui.internal.UISynchronizer$$Lambda$491/0x0000000840a08040.run(Unknown Source)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4906)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4475)
      	at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:128)
      	at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.worked(EventLoopProgressMonitor.java:189)
      	at org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:980)
      	at org.jboss.tools.central.editors.JBossCentralEditor.dispose(JBossCentralEditor.java:134)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:264)
      	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:424)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.uninject(InjectorImpl.java:200)
      	at org.eclipse.e4.core.internal.di.Requestor.uninject(Requestor.java:175)
      	at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:87)
      	at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
      	at org.eclipse.e4.core.internal.contexts.EclipseContext.removeListenersTo(EclipseContext.java:492)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.uninject(ContextInjectionFactory.java:175)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:967)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$1(PartRenderingEngine.java:886)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:881)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:865)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.subscribeTopicToBeRendered(PartRenderingEngine.java:186)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
      	at org.eclipse.e4.core.di.internal.extensions.EventObjectSupplier$DIEventHandler.handleEvent(EventObjectSupplier.java:91)
      	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
      	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
      	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
      	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
      	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
      	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
      	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
      	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
      	at org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setToBeRendered(UIElementImpl.java:307)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1380)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1310)
      	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.closePart(StackRenderer.java:1268)
      	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.access$0(StackRenderer.java:1254)
      	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$3.close(StackRenderer.java:1122)
      	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1957)
      	at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:336)
      	at org.eclipse.swt.custom.CTabFolder$$Lambda$252/0x000000084064f840.handleEvent(Unknown Source)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4931)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4472)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
      	at org.eclipse.ui.internal.Workbench$$Lambda$136/0x0000000840382440.run(Unknown Source)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base@11.0.2/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base@11.0.2/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base@11.0.2/java.lang.reflect.Method.invoke(Method.java:566)
      	at app//org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
      	at app//org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at app//org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      	at app//org.eclipse.equinox.launcher.Main.main(Main.java:1474)
      
      
      eclipse.buildId=4.10.0.I20181206-0815
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-dev/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.eclipse.ui
      Error
      Mon Feb 25 22:19:47 CET 2019
      Worker-6: Setup check thread is an instance of Worker or owns an ILock
      
      java.lang.IllegalStateException: Call stack for thread Worker-6: Setup check
      	at java.management@11.0.2/sun.management.ThreadImpl.dumpThreads0(Native Method)
      	at java.management@11.0.2/sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:466)
      	at org.eclipse.ui.internal.UILockListener.reportInterruption(UILockListener.java:209)
      	at org.eclipse.ui.internal.UILockListener.interruptUI(UILockListener.java:179)
      	at org.eclipse.ui.internal.PendingSyncExec.waitUntilExecuted(PendingSyncExec.java:85)
      	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
      	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5807)
      	at org.eclipse.oomph.ui.UIUtil.syncExec(UIUtil.java:645)
      	at org.eclipse.oomph.ui.UIUtil.syncExec(UIUtil.java:601)
      	at org.eclipse.oomph.internal.ui.UIPropertyTester.requestEvaluation(UIPropertyTester.java:81)
      	at org.eclipse.oomph.setup.ui.SetupPropertyTester.setStarting(SetupPropertyTester.java:175)
      	at org.eclipse.oomph.setup.ui.SetupUIPlugin$1$1.run(SetupUIPlugin.java:257)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      

              jmaury@redhat.com Jeff MAURY
              odockal@redhat.com Ondrej Dockal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: