Search code examples
xpageslotus-noteslotus-domino

Domino Server 9.0.1 FP3 crashs when JAVA getAllEntries method (of the View class) follows a call to the FTSearch method


I have an XPage application which is running on a Domino Server 8.5.3 FP6without any FTSearch problems.

Since a couple of weeks I am working on the migration to Domino Server 9.0.1 FP3.


Now it seems we have to deal with this bug

Remember: We have no troubles on Domino Server 8.5.3 FP6!

In the above IBM technote you can find a paragraph Resolving the Problem that decribes a workaround running the FTSearch on the ViewEntryCollection instead of the View Object

Example (Domino Server 9.0.1 crashs):

var nview:NotesView = database.getView("luDocumentsDownloadsHistory");
nview.FTSearch("[Downloader] = Homer Simpson/ncdev");

var col:NotesViewEntryCollection = nview.getAllEntries();

var viewEntry:NotesViewEntry = col.getFirstEntry();

while (viewEntry != null) {
    var tmpEntry:NotesViewEntry = col.getNextEntry();
    viewEntry.recycle();
    viewEntry = tmpEntry;
}

Example (with Workaround no crash):

var nview:NotesView = database.getView("luDocumentsDownloadsHistory");

var col:NotesViewEntryCollection = nview.getAllEntries();
col.FTSearch("[Downloader] = Homer Simpson/ncdev");

var viewEntry:NotesViewEntry = col.getFirstEntry();

while (viewEntry != null) {
    var tmpEntry:NotesViewEntry = col.getNextEntry();
    viewEntry.recycle();
    viewEntry = tmpEntry;
}

However, this workaround isn't working for me, because I have to work with <xp:dominoView var="viewData" search="[FieldName] = FieldValue"> using the search-Attribute. Therefore it is not possible for me to move the FTSearch call from the View to the ViewEntryCollection.

Any idea why this problem comes up with Domino 9.0.1 FP3?


Solution

  • BUG Fixed, Domino Server doesn't crash anymore

    We have got the following message with a link to a testfix 901FP3HF154_W64.exe from IBM which works perfect:

    ftp://ftp.ecurep.ibm.com/fromibm/pmr/16502,SGC,618/901FP3HF154_W64.exe

    Thanks once more to the guys of IBM Ireland, they have worked in a very professional way to help us with our problem :)