You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tomas Pan (JIRA)" <ji...@apache.org> on 2012/10/07 21:38:02 UTC

[jira] [Updated] (FELIX-3703) Race condition in gogo runtime activator

     [ https://issues.apache.org/jira/browse/FELIX-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Pan updated FELIX-3703:
-----------------------------

    Attachment: my.patch

patch
                
> Race condition in gogo runtime activator
> ----------------------------------------
>
>                 Key: FELIX-3703
>                 URL: https://issues.apache.org/jira/browse/FELIX-3703
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Runtime
>    Affects Versions: gogo.runtime-0.10.0
>         Environment: Embedded felix 4.0.3
>            Reporter: Tomas Pan
>         Attachments: my.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira