Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3703

Race condition in gogo runtime activator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: gogo.runtime-0.10.0
    • Fix Version/s: gogo.shell-0.12.0
    • Component/s: Gogo Runtime
    • Labels:
      None
    • Environment:
      Embedded felix 4.0.3

      Description

      Starting gogo.command (0.12.0) before gogo.runtime(0.10.0) produces CommandNotFoundException: Command not found: gosh.
      This is because runtime's Activator first registers CommandProcessor before creating commandTracker.
      Creating CommandProcessor triggers event on .command which will start adding commands, but since commandTracker is not present, those commands will be ignored.

        Attachments

        1. osgi-embedded.zip
          4 kB
          Tomas Pan
        2. my.patch
          0.8 kB
          Tomas Pan

          Activity

            People

            • Assignee:
              db82407 Derek Baum
              Reporter:
              tomaspan Tomas Pan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: