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 87CD0E511 for ; Thu, 14 Feb 2013 10:34:19 +0000 (UTC) Received: (qmail 31002 invoked by uid 500); 14 Feb 2013 10:34:17 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 30794 invoked by uid 500); 14 Feb 2013 10:34:16 -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 30696 invoked by uid 99); 14 Feb 2013 10:34:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2013 10:34:12 +0000 Date: Thu, 14 Feb 2013 10:34:12 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DIRSERVER-1802) Disabling an authenticator results in a NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Emmanuel Lecharny created DIRSERVER-1802: -------------------------------------------- Summary: Disabling an authenticator results in a NPE Key: DIRSERVER-1802 URL: https://issues.apache.org/jira/browse/DIRSERVER-1802 Project: Directory ApacheDS Issue Type: Bug Affects Versions: 2.0.0-M10 Reporter: Emmanuel Lecharny Priority: Critical Fix For: 2.0.0-M11 If we disable an authenticator by modifying the ads-enabled value (for instance, disabling the SimpleAuthenticator), we get a NPE in : java.lang.NullPointerException at org.apache.directory.server.core.authn.AuthenticationInterceptor.register(AuthenticationInterceptor.java:267) at org.apache.directory.server.core.authn.AuthenticationInterceptor.init(AuthenticationInterceptor.java:177) at org.apache.directory.server.core.DefaultDirectoryService.initInterceptors(DefaultDirectoryService.java:726) at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1863) at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1272) at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:315) at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:179) at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira