Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337233 - Browsing the OSGi state in the Admin Console breaks when you navigate to a bundle in the Kernel region
Summary: Browsing the OSGi state in the Admin Console breaks when you navigate to a bu...
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: runtime (show other bugs)
Version: 3.0.0.M01   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.0.0.M04   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 337211 344142
Blocks:
  Show dependency tree
 
Reported: 2011-02-15 12:37 EST by Chris Frost CLA
Modified: 2011-05-09 06:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.