From dev-return-38741-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Tue Aug 16 10:44:19 2011 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F25E8D4E for ; Tue, 16 Aug 2011 10:44:19 +0000 (UTC) Received: (qmail 38327 invoked by uid 500); 16 Aug 2011 10:44:15 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 38100 invoked by uid 500); 16 Aug 2011 10:44:00 -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 Received: (qmail 38052 invoked by uid 99); 16 Aug 2011 10:43:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 10:43:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pajbam@gmail.com designates 209.85.161.50 as permitted sender) Received: from [209.85.161.50] (HELO mail-fx0-f50.google.com) (209.85.161.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 10:43:42 +0000 Received: by fxh2 with SMTP id 2so5047649fxh.37 for ; Tue, 16 Aug 2011 03:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=0SBWhlrG88ADGYl+P6nGTq4tJ34jJsqkbPgHSW/GPrA=; b=RrX+0B5Fp+03ASwVog/ZH8HY+4uuZFERgP80A3LasSCvcmISZHTudCc2IkrA3zdCYe 8wcp/Car0FnZh4gsnPf1lMOyI3d1Ezclx3ZD28vNCitgQOoajdxeHD4XNXrp+r/PB9It QMQWuuTvSb4X/fjTmE5baqvyYbtxFTx3OxYM0= Received: by 10.223.143.18 with SMTP id s18mr6842736fau.134.1313491402349; Tue, 16 Aug 2011 03:43:22 -0700 (PDT) Received: from [192.168.0.52] (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id p3sm5770067faa.33.2011.08.16.03.43.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 03:43:21 -0700 (PDT) Sender: Pierre-Arnaud Marcelot Subject: Re: MemoryChangeLogStore throws NullPointerException at startup Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-1-176750240 From: Pierre-Arnaud Marcelot In-Reply-To: Date: Tue, 16 Aug 2011 12:43:19 +0200 Cc: Mike Adamson Message-Id: <1E0B32BF-1A7F-49C8-893C-F6E0B74AADFE@marcelot.net> References: To: Apache Directory Developers List X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-176750240 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Mike, Thanks a lot for reporting this. Fortunately, Emmanuel took care of this three days ago and it's already = fixed. :) The fix is already included in the ongoing vote for the release of = ApacheDS 2.0.0-M2. Regards, Pierre-Arnaud On 16 ao=FBt 2011, at 12:36, Mike Adamson wrote: > Hi, >=20 > I have just enabled the default changelog in my directory service = (2.0.0-M1) and get a npe from the MemoryChangeLogStore.loadChangeLog = method when the directory service is restarted. This is happening = because the method is called in init before the directoryService field = is set. >=20 > I have raised the following issue for this: >=20 > https://issues.apache.org/jira/browse/DIRSERVER-1641 >=20 > There is a fairly simple workaround, e.g. delete the changelog.dat = file prior to restarting the service. >=20 > I realise that this part of the service is still work in progress but = I thought I'd raise it to keep visibility. >=20 > Cheers, >=20 > MikeA --Apple-Mail-1-176750240 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hi = Mike,

Thanks a lot for reporting = this.

Fortunately, Emmanuel took care of this = three days ago and it's already fixed. :)

The = fix is already included in the ongoing vote for the release of ApacheDS = 2.0.0-M2.

Regards,
Pierre-Arnaud
<= div>

On 16 ao=FBt 2011, at 12:36, Mike = Adamson wrote:

Hi,

I have just enabled the default changelog in my = directory service (2.0.0-M1) and get a npe from the = MemoryChangeLogStore.loadChangeLog method when the directory service is = restarted. This is happening because the method is called in init before = the directoryService field is set.

I have raised the following issue for this:

https://issu= es.apache.org/jira/browse/DIRSERVER-1641

There is a fairly = simple workaround, e.g. delete the changelog.dat file prior to = restarting the service.

I realise that this part of the service is still work in progress = but I thought I'd raise it to keep = visibility.

Cheers,

MikeA

= --Apple-Mail-1-176750240--