[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Configuration Admin bug
- From: Simon Kaegi <Simon_Kaegi@xxxxxxxxxx>
- Date: Thu, 6 Dec 2007 12:59:15 -0500
- Delivered-to: firstname.lastname@example.org
I've created a bug report to track this.
equinox-dev-bounces@xxxxxxxxxxx wrote on 12/06/2007 12:31:22 PM:
> In org.eclipse.equinox.cm.internal.ConfigurationAdminFactory at line 812.
> The line:
> if (!config.getBundleLocation().equals(bundle.getLocation()))
> The config.getBundleLocation() can sometimes return null. This is
> especially true in a new factory configuration created by an admin
> bundle with a null location. So in this case it will throw NPE.
> The workaround is to always provide a location, but this is not
> required by the spec, and in fact you may want to create the
> configuration before the bundle is installed.
> Don Laidlaw | Sr. Research Engineer | Infor | office: 905-305-7307 |
> mobile: 416-543-1085 | don.laidlaw@xxxxxxxxx
> equinox-dev mailing list