Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 36425 invoked from network); 14 Jan 2010 22:44:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 22:44:16 -0000 Received: (qmail 24593 invoked by uid 500); 14 Jan 2010 22:44:16 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 24497 invoked by uid 500); 14 Jan 2010 22:44:15 -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 24489 invoked by uid 99); 14 Jan 2010 22:44:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 22:44:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 22:44:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 750CB234C1E9 for ; Thu, 14 Jan 2010 14:43:54 -0800 (PST) Message-ID: <624227558.248911263509034477.JavaMail.jira@brutus.apache.org> Date: Thu, 14 Jan 2010 22:43:54 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-1448) Unable to update User attributes In-Reply-To: <1805797031.1262017109388.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800404#action_12800404 ] Emmanuel Lecharny commented on DIRSERVER-1448: ---------------------------------------------- Sorry for the delay. looking at the code, it seems that the entry being modified either does not contain any ObjectClass attribute, or all of its ObjectClass has been removed because of the applied modification. In any case, you should not get a NPE, and this will be fixed. Now, can you provide a set of LDIF which when injected into the server, and modified generate such a NPE? > Unable to update User attributes > --------------------------------- > > Key: DIRSERVER-1448 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1448 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.5 > Environment: Windows, Java Embedded Apache DS > Reporter: RAMESH BABU NAKKA > Priority: Blocker > > I am using the embedded APACHE DS API 1.5.5. > We are starting and stopping the DS through testng tests > We are able to create partition, add users, find users, but not able to update users with any attribute (Single valued and Multi valued.) > Initially we thought we are not able to updated for multi values attributes, but we are UNABLE to update any user attribute. > We get the below exception. > java.lang.NullPointerException > at org.apache.directory.server.core.collective.CollectiveAttributesSchemaChecker.checkModify(CollectiveAttributesSchemaChecker.java:89) > at org.apache.directory.server.core.collective.CollectiveAttributeInterceptor.modify(CollectiveAttributeInterceptor.java:358) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.subtree.SubentryInterceptor.modify(SubentryInterceptor.java:1104) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.schema.SchemaInterceptor.modify(SchemaInterceptor.java:1551) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:209) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.changelog.ChangeLogInterceptor.modify(ChangeLogInterceptor.java:225) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.exception.ExceptionInterceptor.modify(ExceptionInterceptor.java:367) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.authz.DefaultAuthorizationInterceptor.modify(DefaultAuthorizationInterceptor.java:273) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.authz.AciAuthorizationInterceptor.modify(AciAuthorizationInterceptor.java:565) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.referral.ReferralInterceptor.modify(ReferralInterceptor.java:403) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.authn.AuthenticationInterceptor.modify(AuthenticationInterceptor.java:336) > at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1216) > at org.apache.directory.server.core.normalization.NormalizationInterceptor.modify(NormalizationInterceptor.java:146) > at org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:821) > at org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:691) > at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:829) > at org.apache.directory.server.core.DefaultCoreSession.modify(DefaultCoreSession.java:815) > at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:56) > at org.apache.directory.server.ldap.handlers.ModifyHandler.handle(ModifyHandler.java:39) > at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:176) > at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56) > at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:232) > at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:194) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:721) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:433) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:801) > at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:71) > at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.