When i am trying to fetch valid object from Session, getting below exception as object not exist error.
From the trace of exception, it trys to get it from cache, but failed to get it.
DfIdNotFoundException:: THREAD: ExecuteThread: '195' for queue: 'weblogic.kernel.Default'; MSG: [DM_API_E_EXIST]error: "Document/object specified by 097b2b46806f9057 does not exist."
[DM_SYSOBJECT_E_CANT_FETCH_INVALID_ID]error: "Cannot fetch a sysobject - Invalid object ID 097b2b46806f9057"
; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.DfSession.getObjectWithCaching(DfSession.java:1597)
at com.documentum.fc.client.DfSession.getObjectWithType(DfSession.java:1621)
at com.documentum.fc.client.DfSession.getObject(DfSession.java:1418)
at com.tms.t3.tqcn.dctm.util.SysObjectHandler.copyContent(Unknown Source)
at com.tms.t3.tqcn.workflow.ReviseSBDialogContainer.createAttachment(Unknown Source)
at com.tms.t3.tqcn.workflow.ReviseSBDialogContainer.attachDocToProcess(Unknown Source)
at com.tms.t3.tqcn.workflow.ReviseSBDialogContainer.onOKRevise(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.documentum.web.form.FormProcessor.invokeMethod(FormProcessor.java:1576)
at com.documentum.web.form.FormProcessor.fireActionEvent(FormProcessor.java:1266)
at com.documentum.web.form.RecallOperation.execute(RecallOperation.java:101)
at com.documentum.web.form.FormProcessor.processAction(FormProcessor.java:110)
at com.documentum.web.form.FormAction.processAction(FormAction.java:107)
at com.documentum.web.env.WDKController.doStartRequest(WDKController.java:191)
at com.documentum.web.env.WDKController.processRequest(WDKController.java:92)
at com.documentum.web.env.WDKController.doFilter(WDKController.java:83)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7053)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Could you please throw some idea on fixing this issue.?
Code: IDfSysObject sysObj = (IDfSysObject) idfSess.getObject(new DfId(strNewId));
Thanks & Regards,
Vijay