You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alexander Pankow (JIRA)" <ji...@apache.org> on 2016/01/14 12:58:40 UTC

[jira] [Created] (DIRSERVER-2112) ApacheDS crashes after partition is added

Alexander Pankow created DIRSERVER-2112:
-------------------------------------------

             Summary: ApacheDS crashes after partition is added
                 Key: DIRSERVER-2112
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2112
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M21
            Reporter: Alexander Pankow
            Priority: Critical


After I tried to add my partition, the server crashes after trying to generate the cache for the partition:

{panel:title=Log}
[12:50:31] INFO [org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex] - Setting CacheRecondManager's cache size to 100
[12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named alias
[12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named piar
[12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named entryDn
[12:50:31] INFO [org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition] - Setting CacheRecondManager's cache size to 100
[12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - fetching the cache named cosday
[12:50:31] INFO [org.apache.directory.server.core.api.CacheService] - No cache with name cosday exists, creating one
[12:50:31] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
org.apache.directory.api.ldap.model.exception.LdapOtherException
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
	at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1813)
	at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1250)
	at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:318)
	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:182)
	at org.apache.directory.server.UberjarMain.start(UberjarMain.java:136)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94)
	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:787)
	at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:211)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
	... 6 more
Caused by: org.apache.directory.api.ldap.model.exception.LdapException
	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2541)
	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1167)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:249)
	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
	... 9 more
Caused by: org.apache.directory.api.ldap.model.exception.LdapOtherException
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:371)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:360)
	at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:58)
	at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2518)
	... 12 more
[12:50:31] INFO [org.apache.directory.server.UberjarMain] - Stopping the service.
[12:50:31] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
java.lang.NullPointerException
	at org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:577)
	at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:155)
	at org.apache.directory.server.UberjarMain.start(UberjarMain.java:143)
	at org.apache.directory.server.UberjarMain.main(UberjarMain.java:76)
{panel}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)