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

jvergara
27.50.2009 69e65a37e6a9d1733b71af98f78ef9d918633147
refs
author jvergara <jvergara@localhost>
Friday, March 27, 2009 23:50 +0100
committer jvergara <jvergara@localhost>
Friday, March 27, 2009 23:50 +0100
commit69e65a37e6a9d1733b71af98f78ef9d918633147
tree c3cfe6aa6c276059a799988daf271c1b48c4729e tree | zip | gz
parent b32ce75dc5d7d43f8337adeb7ab6ad81cca5959c 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
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 5 ●●●●● diff | view | raw | blame | history