Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 98883 invoked from network); 8 Feb 2007 18:18:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 18:18:38 -0000 Received: (qmail 82561 invoked by uid 500); 8 Feb 2007 18:18:44 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 82533 invoked by uid 500); 8 Feb 2007 18:18:44 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 82522 invoked by uid 99); 8 Feb 2007 18:18:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 10:18:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [65.77.126.101] (HELO Mail1.ktd.com) (65.77.126.101) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 10:18:34 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Another OBR issue X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 8 Feb 2007 10:18:41 -0800 Message-ID: <9A6213D6CEDE5147A5FA6559410C363D01A6C9F7@Mail1.ktd.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Another OBR issue Thread-Index: AcdLqcjrAwVtBAs7Q9Kt/mc0JTrCjQAAlFNw References: <456DDF2E.90602@ungoverned.org><475625fea8a1df57e25ba90c7a4dd337@ungoverned.org><7539b3031e3fdb657c50548ab94101b0@ungoverned.org><456F0D85.3060603@ungoverned.org><456F37A8.8060909@ungoverned.org><45703B7F.3030808@ungoverned.org><45707BD6.6050706@ungoverned.org><2C596285-BBE1-4158-897B-F624C7D42754@ungoverned.org><45CB55C5.2040809@ungoverned.org><9A6213D6CEDE5147A5FA6559410C363D01A6C9B5@Mail1.ktd.com> From: "Rick Litton" To: X-Virus-Checked: Checked by ClamAV on apache.org Steven wrote: > It looks like either the symbolic name or the version are nil. I haven't been able to track down all the ways this could be so. Looking at the output from obr info, the repository.xml generated by bindex shows that the Bundle-Name has been used as a substitute when the Bundle-SymbolicName descriptor is missing from the manifest. Hence my guess is that the obr deploy command fails with an NPE only when dependencies are not satisfied. =20 Rick Litton -----Original Message----- From: Steven E. Harris [mailto:seh@panix.com]=20 Sent: Thursday, February 08, 2007 9:51 AM To: felix-dev@incubator.apache.org Subject: Re: Another OBR issue Rick Litton writes: > java.lang.NullPointerException > at > org.apache.felix.bundlerepository.ResourceImpl.hashCode(ResourceImpl.jav > a:79) ,----[ ResourceImpl.hashCode source ] | public int hashCode() | { | return getSymbolicName().hashCode() ^ getVersion().hashCode(); | } `---- It looks like either the symbolic name or the version are nil. I haven't been able to track down all the ways this could be so. Do you know if the ResourceImpl here is a LocalResourceImpl, or one created by RepositoryImpl's parsing of an XML file? --=20 Steven E. Harris