| Summary: | Improve diagnostics when Fragment-Host fails to resolve | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Glyn Normington <glyn.normington> |
| Component: | runtime | Assignee: | Glyn Normington <glyn.normington> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | borobudur |
| Version: | unspecified | ||
| Target Milestone: | 3.5.0.M01 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Glyn Normington
Beefed up the diagnostics, e.g.:
<DE0500E> Unable to install application from URI 'file:/Users/glynnormington/bugs/364567/virgo-kernel-3.1.0.BUILD-20111123111605/pickup/com.springsource.org.apache.xerces-2.8.1.jar'. Cannot satisfy constraints for bundle 'com.springsource.org.apache.xerces' version '2.8.1'. Cannot resolve: com.springsource.org.apache.xerces
Resolver report:
A Fragment-Host could not be resolved. The affected fragment is com.springsource.org.apache.xerces_2.8.1. Resolver error data <Fragment-Host: com.springsource.org.apache.xmlcommons; bundle-version="[1.3.3,1.3.3]">. Caused by missing constraint in bundle <com.springsource.org.apache.xerces_2.8.1>
constraint: <Fragment-Host: com.springsource.org.apache.xmlcommons; bundle-version="[1.3.3,1.3.3]">
. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.springsource.org.apache.xerces' at version '2.8.1': Cannot resolve: com.springsource.org.apache.xerces
Resolver report:
A Fragment-Host could not be resolved. The affected fragment is com.springsource.org.apache.xerces_2.8.1. Resolver error data <Fragment-Host: com.springsource.org.apache.xmlcommons; bundle-version="[1.3.3,1.3.3]">. Caused by missing constraint in bundle <com.springsource.org.apache.xerces_2.8.1>
constraint: <Fragment-Host: com.springsource.org.apache.xmlcommons; bundle-version="[1.3.3,1.3.3]">
The problematic Fragment-Host version range is now present in the diagnostics, which should make them easier to understand if a little more verbose.
Fixed in kernel commit 74e1f3d3c514ac7cbef0345d2864f1a619f2065e. |