Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 52786 invoked from network); 4 Nov 2008 07:41:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Nov 2008 07:41:14 -0000 Received: (qmail 89191 invoked by uid 500); 4 Nov 2008 07:41:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 89150 invoked by uid 500); 4 Nov 2008 07:41:20 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Delivered-To: moderator for dev@directory.apache.org Received: (qmail 22806 invoked by uid 99); 4 Nov 2008 02:05:30 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xiphar@gmail.com designates 72.14.252.153 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=C6v1JfjbW4OqfUA0ewKlfEavqt2La/O1OYij1/799bw=; b=fZu1Y5gJP1hY9xtS85zXt6H13qfxPZFZC2IkhKWn+pIBBFcUZidp4/lUNVUj+3JbQI PieKsqJ8Cbk7Ywo2cczBrXQlJAI4NaRd8jaLbkqLtU2Ax98FeuNaD68Z/gPKuSz2yRAw vfNlWD8Xwii90hXjPHEZn6LOUOIERoAkaRKtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=VrofzMJvGscVico5ZKYSCW6P17H/E1t8k34LzdbsDf99eJu7Tk0VrkBB76KP8S2Pog gu37HCjQMFmtroLKHymkcLHRGr4REZlJYN6FBgoLFKhA2F463STAhPZW3w4TcfC7x5ab YC9gIQXm1F5UIl+fm8iLIJbgGaeY6bNAE2kO4= Message-ID: <3eff600b0811031804y12be3470t402d6c47e8095306@mail.gmail.com> Date: Mon, 3 Nov 2008 21:04:46 -0500 From: "Tim Bond" To: dev@directory.apache.org Subject: Problem with AbstractBootstrapSchema MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_53244_634589.1225764286519" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_53244_634589.1225764286519 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I'm working on embedding apacheds in a custom container. I'm running into a problem with the following line in AbstractBootstrapSchema: private static final String DEFAULT_PACKAGE_NAME = AbstractBootstrapSchema.class.getPackage().getName(); The classloader I'm using does not set the package field, so when this class is loaded I'm getting a NullPointerException. I'm looking to see if I can change the classloader somehow, but my reading of the Classload docs indicates getPackage() is allowed to return null. -- x ------=_Part_53244_634589.1225764286519 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I'm working on embedding apacheds in a custom container.  I'm running into a problem with the following line in AbstractBootstrapSchema:

private static final String DEFAULT_PACKAGE_NAME = AbstractBootstrapSchema.class.getPackage().getName();

The classloader I'm using does not set the package field, so when this class is loaded I'm getting a NullPointerException.  I'm looking to see if I can change the classloader somehow, but my reading of the Classload docs indicates getPackage() is allowed to return null.

-- x
------=_Part_53244_634589.1225764286519--