You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Simon Temple (JIRA)" <di...@incubator.apache.org> on 2006/01/25 12:18:10 UTC

[jira] Created: (DIR-125) JDBM - ArrayIndexOutOfBoundsException

JDBM - ArrayIndexOutOfBoundsException
-------------------------------------

         Key: DIR-125
         URL: http://issues.apache.org/jira/browse/DIR-125
     Project: Directory
        Type: Bug
 Environment: IBM iSeries ( V5R2),  Directory 0.9.4 SNAPSHOT (Nov 2005)  IBM JDK 1.4.2
    Reporter: Simon Temple
 Assigned to: Alex Karasulu 


I call InitialDirContext every 40 seconds and after about fourty five minutes I get this exception.
 
java.lang.ArrayIndexOutOfBoundsException
 at jdbm/recman/TranslationPage.get(TranslationPage.java:86)
 at jdbm/recman/LogicalRowIdManager.fetch(LogicalRowIdManager.java:135)
 at jdbm/recman/BaseRecordManager.update(BaseRecordManager.java:284)
 at jdbm/recman/CacheRecordManager.updateCacheEntries(CacheRecordManager.java:405)
 at jdbm/recman/CacheRecordManager.commit(CacheRecordManager.java:339)
 at org/apache/ldap/server/partition/impl/btree/jdbm/JdbmIndex.sync(JdbmIndex.java:489)
 at org/apache/ldap/server/partition/impl/btree/jdbm/JdbmDirectoryPartition.sync(JdbmDirectoryPartition.java:248)
 at org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.sync(DefaultDirectoryPartitionNexus.java:290)
 at org/apache/ldap/server/DefaultDirectoryService.sync(DefaultDirectoryService.java:223)
 at org/apache/ldap/server/jndi/AbstractContextFactory.getInitialContext(AbstractContextFactory.java:82)
 at javax/naming/spi/NamingManager.getInitialContext(NamingManager.java:662)
 at javax/naming/InitialContext.getDefaultInitCtx(InitialContext.java:243)
 at javax/naming/InitialContext.init(InitialContext.java:219)
 at javax/naming/directory/InitialDirContext.<init>(InitialDirContext.java:80)
 

2006-01-24 13:30:44,544 First Call
2006-01-24 14:18:56,444 First Error
 
Restarting normally fixes the problem (for another 40-60 mins).
 
We do not experience these problems on our Windows or UNIX platforms.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DIR-125) JDBM - ArrayIndexOutOfBoundsException

Posted by "Simon Temple (JIRA)" <di...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/DIR-125?page=comments#action_12363955 ] 

Simon Temple commented on DIR-125:
----------------------------------

Moved to correct project:

    https://issues.apache.org/jira/browse/DIREVE-329

> JDBM - ArrayIndexOutOfBoundsException
> -------------------------------------
>
>          Key: DIR-125
>          URL: http://issues.apache.org/jira/browse/DIR-125
>      Project: Directory
>         Type: Bug
>  Environment: IBM iSeries ( V5R2),  Directory 0.9.4 SNAPSHOT (Nov 2005)  IBM JDK 1.4.2
>     Reporter: Simon Temple
>     Assignee: Alex Karasulu

>
> I call InitialDirContext every 40 seconds and after about fourty five minutes I get this exception.
>  
> java.lang.ArrayIndexOutOfBoundsException
>  at jdbm/recman/TranslationPage.get(TranslationPage.java:86)
>  at jdbm/recman/LogicalRowIdManager.fetch(LogicalRowIdManager.java:135)
>  at jdbm/recman/BaseRecordManager.update(BaseRecordManager.java:284)
>  at jdbm/recman/CacheRecordManager.updateCacheEntries(CacheRecordManager.java:405)
>  at jdbm/recman/CacheRecordManager.commit(CacheRecordManager.java:339)
>  at org/apache/ldap/server/partition/impl/btree/jdbm/JdbmIndex.sync(JdbmIndex.java:489)
>  at org/apache/ldap/server/partition/impl/btree/jdbm/JdbmDirectoryPartition.sync(JdbmDirectoryPartition.java:248)
>  at org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.sync(DefaultDirectoryPartitionNexus.java:290)
>  at org/apache/ldap/server/DefaultDirectoryService.sync(DefaultDirectoryService.java:223)
>  at org/apache/ldap/server/jndi/AbstractContextFactory.getInitialContext(AbstractContextFactory.java:82)
>  at javax/naming/spi/NamingManager.getInitialContext(NamingManager.java:662)
>  at javax/naming/InitialContext.getDefaultInitCtx(InitialContext.java:243)
>  at javax/naming/InitialContext.init(InitialContext.java:219)
>  at javax/naming/directory/InitialDirContext.<init>(InitialDirContext.java:80)
>  
> 2006-01-24 13:30:44,544 First Call
> 2006-01-24 14:18:56,444 First Error
>  
> Restarting normally fixes the problem (for another 40-60 mins).
>  
> We do not experience these problems on our Windows or UNIX platforms.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira