Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
-
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.1JVM
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 4karaf@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
Description
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]