Debugging XPage Code
Tip van Martin Meijer
I was running in to a coding problem and I did’t know what te problem was, the only thing that the errormessage said was that my database object was null.
My Colleage Marcus gave me the tip to use the following debug code:
dbPersonen = session.getDatabase(null,databasePathPersonen, true);
} catch (e)
Now there is a lot of more information that you can find in the dominoconsole.
I discoverd that the ACL of the database that I tried to access was not correct.
Pfffff. stupid, but problem solved.