Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337233

Summary: Browsing the OSGi state in the Admin Console breaks when you navigate to a bundle in the Kernel region
Product: [RT] Virgo Reporter: Chris Frost <eclipse>
Component: runtimeAssignee: Project Inbox <virgo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: glyn.normington
Version: 3.0.0.M01   
Target Milestone: 3.0.0.M04   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 337211, 344142    
Bug Blocks:    

Description Chris Frost CLA 2011-02-15 12:37:32 EST
To Reproduce:

1. In the OSGi state tab, select the 'org.eclipse.virgo.web.core' bundle.
2. It imports the package 'org.eclipse.virgo.util.common', select the package.
3. On this screen, click the bundle that exports that package, pop.
Comment 1 Chris Frost CLA 2011-02-16 09:13:42 EST
It is not sufficient to fix this bug by setting the following classes to use the System bundle context in all cases.

StandardQuasiFrameworkFactory
StandardStateService

(Some tests will also need to be updated if doing these changes again.

With these changes in place, it still fails in StandardQuasiLiveFramework when it tries to get a bundle from the Kernel region using a bundle id. It is using the system bundle context to do so but it still returns null?
Comment 2 Glyn Normington CLA 2011-03-10 07:03:21 EST
Note this is worked around reasonably in M02. We'll leave this bug open until we can test with the proper fix (to bug 337211).
Comment 3 Glyn Normington CLA 2011-04-11 11:19:04 EDT
Working now.