I am trying to import document to my repository and getting following errors:
ERROR [TResource Housekeeper] [] [?:?] [DFC_STREAM_NOT_CLOSED] Unclosed stream found during garbage collection, com.documentum.fc.client.content.impl.PullerInputStream@85a863.
ERROR [TResource Housekeeper] [] [?:?] [DFC_STREAM_NOT_CLOSED] Unclosed stream found during garbage collection, com.documentum.fc.client.content.impl.PullerInputStream@1930c3a.
ERROR [TResource Housekeeper] [] [?:?] [DFC_STREAM_NOT_CLOSED] Unclosed stream found during garbage collection, com.documentum.fc.client.content.impl.PullerInputStream@107c615.
ERROR [TResource Housekeeper] [] [?:?] [DFC_STREAM_NOT_CLOSED] Unclosed stream found during garbage collection, com.documentum.fc.client.content.impl.PullerInputStream@15d925b.
I have used following methods to perform import operation :
impOper = new DfClientX().getImportOperation();
impOper.setSession(this.getSession());
impNode = (IDfImportNode) impOper.add("D:/****.****");
impNode.setDocbaseObjectType("dm_document");
impOper.setDestinationFolderId(new new DfId("repo_folder"));
if(impOper.execute()) //This line causes Errors.
{
IDfDocument newObj = (IDfDocument)impNode.getNewObject();
newObj.save();
}
//Please suggest possible solutions.
Thanks