found the same problem, I decided to declare new constructor signature:
public OpenLogItem(Database db) throws NotesException {<br/>
this(db.getParent());<br/>
currentDatabase = db;<br/>
thisDatabase = db.getFilePath();<br/>
}<br/>
It requires to add cast in default constructor:
public OpenLogItem() {<br/>
this((Session)null);<br/>
}<br/>
BTW, who needs (server,path) constructor?
AgentContext is still null, though.
I think that class needs some facelift:
- static alternatives to logEvent/logError (I made proxy class for that)
- ability to run in external Java (CORBA) - all those NotesFactory.createSession() calls fail. anybody using JUnit?
- all those Vector warnings
contact me if you want, I would like to help improve this project