celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woojoong Kim <woojoong.m....@gmail.com>
Subject Error when stopping resolved bundle
Date Mon, 09 Dec 2019 21:45:18 GMT
Hi guys,

I am trying to use Celix.

Just I want to know how to fix an unexpected error when stopping resolved bundles.

Normally, we will not push the command stop a resolved bundle but sometimes we type wrong
command…

I think it is important for exception handling.

Is this error can be resolved or do you have any idea to solve it?

=== test result ===

-> lb
  ID State Name
  0 Active framework
  1 Active apache_celix_shell
  2 Active apache_celix_shell_tui
  3 Active apache_celix_dm_shell
  4 Active apache_celix_remote_shell
  5 Active apache_celix_log_service
  6 Active GWCore
  7 Resolved SBBundle
-> stop 7
-> lb
  ID State Name
  0 Active framework
  1 Active apache_celix_shell
  2 Active apache_celix_shell_tui
  3 Active apache_celix_dm_shell
  4 Active apache_celix_remote_shell
  5 Active apache_celix_log_service
  6 Active GWCore
  7 Stopping SBBundle
-> start 7
ERROR: Illegal state [70006]: "Failed to get bundle lock”
        at framework_acquireBundleLock(/mnt/extra/workspace/xranc/common/celix/framework/private/src/framework.c:2001)
ERROR: Illegal state [70006]: Could not start bundle: SBBundle [7]
        at fw_startBundle(/mnt/extra/workspace/xranc/common/celix/framework/private/src/framework.c:766)
ERROR: Illegal state [70006]: "Failed to start bundle”
        at bundle_startWithOptions(/mnt/extra/workspace/xranc/common/celix/framework/private/src/bundle.c:285)

Thanks,
Woojoong Kim.

Mime
View raw message