karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Pieber (JIRA)" <j...@apache.org>
Subject [jira] Closed: (KARAF-8) Improve error reporting for features installer
Date Fri, 11 Feb 2011 07:21:01 GMT

     [ https://issues.apache.org/jira/browse/KARAF-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andreas Pieber closed KARAF-8.

       Resolution: Fixed
    Fix Version/s: 2.2.0

Ok, I've fixed this already; just tested it again

> Improve error reporting for features installer
> ----------------------------------------------
>                 Key: KARAF-8
>                 URL: https://issues.apache.org/jira/browse/KARAF-8
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: ServiceMix 4.1.0 SNAPSHOT
> Karaf 1.2.0
>            Reporter: Vincent Girard-Reydet
>            Assignee: Andreas Pieber
>            Priority: Minor
>              Labels: features, packaging
>             Fix For: 2.1.4, 2.2.0
> When a feature is installed and one of the to-be-installed bundles raises an exception,
the feature installer only reports 'null' on the console to the user. The error reporting
should be improved so that at least the user knows which bundle caused the error (the only
way to know currently is to switch logs to TRACE level and note the last bundle trying to
> Steps to reproduce:
> 1. unzip one of the bundles of a feature (the bundle can already be installed, it does
not change anything)
> 2. Make a trivial change in the Manifest
> 3. Zip again the bundle using 7-Zip file archiver (mode: ZIP format, normal compression)
> 4. Change the file name to xxx.jar and copy it back to your Maven local repository (note:
if the file was taken from Karaf 'system' repository, it should be placed here back again).
> This way we have created a bundle whose Manifest won't be found by the Jar reader.
> 5. Install the feature containing your bundle
> When the feature installer tries to open the target bundle to compare version to the
currently installed version, it will raise an exception. The exception is catched, but on
the console only "null" is displayed.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message