Issue Details (XML | Word | Printable)

Key: DIRSERVER-348
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Simon Temple
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

JDBM - ArrayIndexOutOfBoundsException

Created: 25/Jan/06 11:12 PM   Updated: 10/Feb/06 12:34 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment:     IBM iSeries ( V5R2), Directory 0.9.4 SNAPSHOT (Nov 2005) IBM JDK 1.4.2

Resolution Date: 27/Jan/06 10:31 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.