• Session.getDatabase() throws NullPointerException

    By Bjørn Tore Olsen Cintra 1 decade ago

    When Server is null, there is no check to see if it is null, so a NullPointerException is thrown. The documentation for the lotus.domino API states that null is used to indicate the local computer.

    Example:

    Database database = session.getDatabase(null, it)

    It makes it easier to "upgrade" if this is consistent (and it's probably wise to handle the Nullpointer anyways)

    Bjørn Cintra

    • Fixed in M3.5

      By Nathan T Freeman 1 decade ago