You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/04/06 09:48:00 UTC
[jira] [Updated] (KARAF-3917) bundle:list does not work from gogo
webconsole.
[ https://issues.apache.org/jira/browse/KARAF-3917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-3917:
----------------------------------------
Component/s: (was: webconsole)
karaf
> bundle:list does not work from gogo webconsole.
> ------------------------------------------------
>
> Key: KARAF-3917
> URL: https://issues.apache.org/jira/browse/KARAF-3917
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.0.0
> Environment: karaf@root()> info
> Karaf
> Karaf version 4.0.0
> Karaf home /Users/pavlovasylchenko/bin/actual/apache-karaf-4.0.0
> Karaf base /Users/pavlovasylchenko/bin/actual/apache-karaf-4.0.0
> OSGi Framework org.apache.felix.framework-5.0.1
> JVM
> Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM version 25.51-b03
> Version 1.8.0_51
> Vendor Oracle Corporation
> Pid 4332
> Uptime 23 minutes
> Total compile time 17.085 seconds
> Threads
> Live threads 65
> Daemon threads 46
> Peak 68
> Total started 116
> Memory
> Current heap size 49,381 kbytes
> Maximum heap size 932,352 kbytes
> Committed heap size 265,216 kbytes
> Pending objects 0
> Garbage collector Name = 'PS Scavenge', Collections = 7, Time = 0.081 seconds
> Garbage collector Name = 'PS MarkSweep', Collections = 2, Time = 0.104 seconds
> Classes
> Current classes loaded 6,564
> Total classes loaded 6,565
> Total classes unloaded 1
> Operating system
> Name Mac OS X version 10.10.4
> Architecture x86_64
> Processors 4
> Reporter: Pavlo Vasylchenko
> Assignee: Christian Schneider
> Priority: Major
> Fix For: 4.0.1
>
>
> 1. unzip karaf 4.0.0
> 2. start karaf
> 3. install webconsole feature
> 4. Open http://localhost:8181/system/console/gogo
> 5. Type "bundle:list"
> 6. See: ${USER}@root()> bundle:list
> Error executing command: Context 0 does not evaluate to a bundle
> ............
> 2015-08-10 11:40:41,384 | ERROR | onsole user null | ShellUtil | 43 - org.apache.karaf.shell.core - 4.0.0 | Exception caught while executing command
> java.lang.IllegalArgumentException: Context 0 does not evaluate to a bundle
> at org.apache.karaf.bundle.core.internal.BundleServiceImpl.doGetBundleContext(BundleServiceImpl.java:162)[23:org.apache.karaf.bundle.core:4.0.0]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)