directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david jones <jonesd...@gmail.com>
Subject apacheds start up error
Date Thu, 05 Jan 2012 15:56:51 GMT
Can anyone suggest ways to debug/fix this? I got an exception on restarting
an app with an embedded ApacheDS (running 1.5.5.)

I'm importing an ldif (with LdifFileLoader). When i clean out the
getWorkingDirectory everything is OK.
But i saved the contents of that directory with the error and i can
reproduce the exception by restoring the files back into the
WorkingDirectory.

code snippet:

        service = new DefaultDirectoryService();
        service.getChangeLog().setEnabled( false );
        service.setDenormalizeOpAttrsEnabled( true );
        service.setAccessControlEnabled(true);
        service.startup();

Exception:

java.lang.NullPointerException
    at
org.apache.directory.server.xdbm.search.impl.EqualityEvaluator.evaluate(EqualityEvaluator.java:139)
    at
org.apache.directory.server.xdbm.search.impl.EqualityEvaluator.evaluate(EqualityEvaluator.java:132)
    at
org.apache.directory.server.xdbm.search.impl.AndCursor.matches(AndCursor.java:230)
    at
org.apache.directory.server.xdbm.search.impl.AndCursor.next(AndCursor.java:140)
    at
org.apache.directory.server.core.partition.impl.btree.ServerEntryCursorAdaptor.next(ServerEntryCursorAdaptor.java:179)
    at
org.apache.directory.server.core.filtering.BaseEntryFilteringCursor.next(BaseEntryFilteringCursor.java:498)
    at
org.apache.directory.server.core.ReferralManagerImpl.init(ReferralManagerImpl.java:162)
    at
org.apache.directory.server.core.ReferralManagerImpl.<init>(ReferralManagerImpl.java:74)
    at
org.apache.directory.server.core.referral.ReferralInterceptor.init(ReferralInterceptor.java:216)
    at
org.apache.directory.server.core.interceptor.InterceptorChain.register0(InterceptorChain.java:441)
    at
org.apache.directory.server.core.interceptor.InterceptorChain.register(InterceptorChain.java:397)
    at
org.apache.directory.server.core.interceptor.InterceptorChain.init(InterceptorChain.java:257)
    at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1617)
    at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:971)



thanks,
David

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