After execution following java-agent, I get error in Java-console:
NotesException: Unknown or unsupported object type in Vector at lotus.domino.local.Document.NreplaceItemValue(Native Method) at lotus.domino.local.Document.replaceItemValue(Unknown Source) at JavaAgent.NotesMain(JavaAgent.java:208) at lotus.domino.AgentBase.runNotes(Unknown Source)at lotus.domino.NotesThread.run(NotesThread.java:208)
Part from Java-agent:
.
.
.
do
{
Document note =db.createDocument();
note.replaceItemValue(("zdocument_id"),new Integer(rs.getInt("document_id")));
note.replaceItemValue(("zreg_date"),rs.getDate("reg_date")); // !!!!!!! Error !!!!!
note.save();
note.recycle();
}
while (rs.next());
.
.
.
How I can solve this problem?