directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sumit goyal <sumit.goya...@gmail.com>
Subject Null Pointer Exception while adding object class to schema
Date Mon, 28 Sep 2009 10:16:14 GMT
Hi,

One of our installations of ApacheDS 1.5.4 threw the following error while
adding an object class to schema. We have seen this error only once for our
schema and are not sure what it means.

Can someone pls guide us about the cause of this error.

/ERROR [org.apache.directory.server.
ldap.handlers.ReferralAwareRequestHandler] - OTHER: failed for     Add
Request :
ClientEntry
   dn:
1.3.6.1.4.1.18060.0.4.0.2.1=1.3.6.1.4.1.152.68,2.5.4.11=objectclasses,2.5.4.3=schema,2.5.4.11=schema
   objectclass: metaObjectClass
   objectclass: metaTop
   objectclass: top
   m-may: passwordMinAlphaChars
   m-may: passwordMinOtherChars
   m-may: passwordMinNumbers
   m-typeobjectclass: STRUCTURAL
   m-name: PasswordPolicy
   m-supobjectclass: top
   m-oid: 1.3.6.1.4.1.152.68
   m-must: cn
: Unexpected exception.
org.apache.directory.server.core.interceptor.InterceptorException:
Unexpected exception. [Root exception is java.lang.Error: double get for
block 173]
   at
org.apache.directory.server.core.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1455)
   at
org.apache.directory.server.core.interceptor.InterceptorChain.access$700(InterceptorChain.java:68)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1217)
   at
org.apache.directory.server.core.trigger.TriggerInterceptor.modify(TriggerInterceptor.java:347)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1209)
   at
org.apache.directory.server.core.event.EventInterceptor.modify(EventInterceptor.java:195)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1209)
   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:1209)
   at
org.apache.directory.server.core.operational.OperationalAttributeInterceptor.modify(OperationalAttributeInterceptor.java:198)
   at
org.apache.directory.server.core.interceptor.InterceptorChain.modify(InterceptorChain.java:814)
   at
org.apache.directory.server.core.DefaultOperationManager.modify(DefaultOperationManager.java:289)
   at
org.apache.directory.server.core.interceptor.context.AbstractOperationContext.modify(AbstractOperationContext.java:310)
   at
org.apache.directory.server.core.schema.SchemaOperationControl.updateSchemaModificationAttributes(SchemaOperationControl.java:961)
   at
org.apache.directory.server.core.schema.SchemaOperationControl.add(SchemaOperationControl.java:304)
   at
org.apache.directory.server.core.schema.SchemaInterceptor.add(SchemaInterceptor.java:1824)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.operational.OperationalAttributeInterceptor.add(OperationalAttributeInterceptor.java:191)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.exception.ExceptionInterceptor.add(ExceptionInterceptor.java:220)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.interceptor.BaseInterceptor.add(BaseInterceptor.java:129)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.authz.AciAuthorizationInterceptor.add(AciAuthorizationInterceptor.java:455)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.authn.AuthenticationInterceptor.add(AuthenticationInterceptor.java:213)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.add(InterceptorChain.java:1189)
   at
org.apache.directory.server.core.normalization.NormalizationInterceptor.add(NormalizationInterceptor.java:113)
   at
org.apache.directory.server.core.interceptor.InterceptorChain.add(InterceptorChain.java:749)
   at
org.apache.directory.server.core.DefaultOperationManager.add(DefaultOperationManager.java:78)
   at
org.apache.directory.server.core.DefaultCoreSession.add(DefaultCoreSession.java:378)
   at
org.apache.directory.server.ldap.handlers.AddHandler.handleIgnoringReferrals(AddHandler.java:59)
   at
org.apache.directory.server.ldap.handlers.AddHandler.handleIgnoringReferrals(AddHandler.java:40)
   at
org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler.handleWithReferrals(ReferralAwareRequestHandler.java:483)
   at
org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:150)
   at
org.apache.directory.server.ldap.handlers.ReferralAwareRequestHandler.handle(ReferralAwareRequestHandler.java:66)
   at
org.apache.directory.server.ldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:171)
   at
org.apache.directory.server.ldap.handlers.LdapRequestHandler.messageReceived(LdapRequestHandler.java:46)
   at
org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:141)
   at
org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:181)
   at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
   at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
   at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
   at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
   at
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
   at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
   at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
   at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
   at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
   at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
   at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
   at java.lang.Thread.run(Thread.java:810)
Caused by:
java.lang.Error: double get for block 173
   at jdbm.recman.RecordFile.get(RecordFile.java:153)
   at
jdbm.recman.PhysicalRowIdManager.allocNew(PhysicalRowIdManager.java:200)
   at jdbm.recman.PhysicalRowIdManager.alloc(PhysicalRowIdManager.java:175)
   at
jdbm.recman.PhysicalRowIdManager.update(PhysicalRowIdManager.java:100)
   at jdbm.recman.BaseRecordManager.update(BaseRecordManager.java:298)
   at
jdbm.recman.CacheRecordManager.updateCacheEntries(CacheRecordManager.java:409)
   at jdbm.recman.CacheRecordManager.commit(CacheRecordManager.java:340)
   at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.sync(JdbmStore.java:493)
   at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.modify(JdbmStore.java:1453)
   at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.modify(JdbmPartition.java:504)
   at
org.apache.directory.server.core.partition.DefaultPartitionNexus.modify(DefaultPartitionNexus.java:827)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$1.modify(InterceptorChain.java:141)
   at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.modify(InterceptorChain.java:1209)
   ... 51 more

This is an exception sent to us from a customer (not sure even the setup
exists now), so unfortunately I will not be able to give more details about
this particular setup.

Thanks & Regards
Sumit
<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message