I am getting error when i am trying to create new object for custom object type.
Here is the code for that
DfPersistentObject uinfo=mySession.newObject("saved_search");
uinfo.setString("title", "Retired Documents");
uinfo.save();
But i am getting this error at 1st line (mySession.newObject)
THREAD: main; MSG: [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: net.platformdynamics.recyclebin.RecycleBinDocument; ERRORCODE: 202; NEXT: null
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getTboClass(CompoundClassMgr.java:321)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getTboClass(CompoundClassMgr.java:266)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getImpClass(CompoundClassMgr.java:94)
at com.documentum.fc.client.DfPersObjFactoryWithAspects.makeObject(DfPersObjFactoryWithAspects.java:42)
at com.documentum.fc.client.DfSession.makePersistentObject(DfSession.java:2268)
at com.documentum.fc.client.DfSession.newObjectWithType(DfSession.java:2368)
at com.documentum.fc.client.DfSession.newObject(DfSession.java:2348)
at Rename.main(Update.java:29)
Caused by: java.lang.ClassNotFoundException: Unable to load class
at com.documentum.fc.bof.classmgmt.InheritanceManagingClassLoader.loadClass(InheritanceManagingClassLoader.java:95)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getTboClass(CompoundClassMgr.java:317)
... 7 more
Caused by: DfException:: THREAD: main; MSG: ; ERRORCODE: ff; NEXT: null
at com.documentum.fc.bof.classmgmt.BaseClassModifier.replaceSuperClass(BaseClassModifier.java:57)
at com.documentum.fc.bof.classmgmt.InheritanceManagingClassLoader.loadClass(InheritanceManagingClassLoader.java:72)
... 8 more
Caused by: com.documentum.thirdparty.javassist.NotFoundException: net.platformdynamics.recyclebin.RecycleBinDocument
at com.documentum.thirdparty.javassist.ClassPool.get(ClassPool.java:301)
at com.documentum.fc.bof.classmgmt.BaseClassModifier.replaceSuperClass(BaseClassModifier.java:45)
... 9 more
Can you please help.