Felix
  1. Felix
  2. FELIX-3703

Race condition in gogo runtime activator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

        Tomas Pan created issue -
        Tomas Pan made changes -
        Field Original Value New Value
        Attachment my.patch [ 12548169 ]
        Tomas Pan made changes -
        Attachment osgi-embedded.zip [ 12548731 ]
        Derek Baum made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Derek Baum [ db82407 ]
        Fix Version/s gogo.shell-0.12.0 [ 12316648 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development