Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25169

Deadlock when tokenProvider is invoked during start

    Details

    • Sprint:
      devex #139 October 2017
    • Story Points:
      20
    • Steps to Reproduce:
      Hide

      (from Jeff MAURY)
      1) make sure you have no OSIO account configured (Prefs -> JBoss Tools -> OpenShift.io -> Remove if there is an account
      2) make sure you have the Fabric8 analytics plugin installed
      3) open a pom.xml file from your workspace
      The fabrics8 analytics plugin should start the LSP which will request a token -> a browser should be launched but a there is a contention on the display you shoud face a timeout instead of a deadlock

      Show
      (from Jeff MAURY ) 1) make sure you have no OSIO account configured (Prefs -> JBoss Tools -> OpenShift.io -> Remove if there is an account 2) make sure you have the Fabric8 analytics plugin installed 3) open a pom.xml file from your workspace The fabrics8 analytics plugin should start the LSP which will request a token -> a browser should be launched but a there is a contention on the display you shoud face a timeout instead of a deadlock

      Description

      If a service call the tokenProvider during start, this may lead to a deadlock because the browser is displayed using syncExec. Replace by a UIJob which does call asyncExec

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jeffmaury Jeff MAURY
                Reporter:
                jeffmaury Jeff MAURY
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: