mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
27.50.2009 a8473c682960919df54b936be5374d294c650cf4
refs
author jvergara <jvergara@localhost>
Friday, March 27, 2009 23:50 +0100
committer jvergara <jvergara@localhost>
Friday, March 27, 2009 23:50 +0100
commita8473c682960919df54b936be5374d294c650cf4
tree 690a2a4352296cfa477d98568e1984d35e02991a tree | zip | gz
parent b2610a9f3606e7b42405f40a0882ebe23f2f0cbe view | diff
Fix for issue 3455 (error when deleting vlv index)

The problem is caused because VLVIndex.close() is called twice. VLVIndex.close() basically calls DatabaseContainer.close(), and calling it twice generates a NullPointerException (the database object is set to null when close() is called).

The fix consists on removing the first explicit call to VLVIndex.close (the next call to deleteDatabase(VLVIndex) will call VLVIndex.close).
1 files modified
5 ■■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 5 ●●●●● diff | view | raw | blame | history