• DominoNABNamePicker

    By Mike Jones1 1 decade ago

    com.ibm.xsp.FacesExceptionEx: Not able to find a valid address book for the name picker

    This error occurs when using the DominoNABNamePicker when you do not have access to all address books that are found using session.getAddressBooks() as the code in the  private static NABDb[] getSessionAddressBooks function as the for loop call a db.open on all found address books. As the open method is called outside of the try block the exception rools up to the calling function and errors silently producing the above error.


     

    • Thanks - fixed

      By Philippe Riand 1 decade ago

      Thanks for the level of details, this is very useful! Viva open source...

      I changed the code so it now ignores the NABs that a user can't access. There was a comment in code questioning about the implementation and the cache scope. It is now fixed :-)

      It will be in the next release of extlib 852 & 853.

    • Not able to find a valid address book for the name picker

      By Heather L Kenny 1 decade ago

      We have replicas on 2 servers (both 8.5.3, ext lib 03/29).  One server the NABNamePicker works fine, the other, it returns blanks (and error above).  I added  session.getAddressBooks()to the problem server and it returned names.nsf.  The only difference is that the problem server is on Windows 2008 (the other on 2003).  Not sure what to do as the problem server is the production box (of course).  Any suggestions would be appreciated!