Here’s a dumb question–is there ever a circumstance where a Notes document object would not have a created date? I have an agent that is bombing because I attempt to define a created date as part of the agent and one of the documents accessed apparently doesn’t have one.
Is there a situation where a document would not have a created date? After reviewing the db, I noticed that there are a number of replication and save conflicts. Also, I was wondering that since I grab the documents in the db by creating a DocumentCollection and using the the getAllDocuments method, if perhaps I am grabbing a deletion stub in the process.
Subject: RE: When would a document object not have a created date?
I get a nullpointerexception when I try to do a DateTime.TimeDifference method in a java agent. I have postulated that this is because my datetime object is not being set because Document.getCreated() is null. So I am trying to determine when a document would not have a created date so I can try to logically get around it…