unable to import document in xCP application after addition of business process.

abdulquadir.ali@ril.com
edited June 23, 2016 in Documentum #1

Befor the addition of business process in am able to upload document but once i attached a synchronus process with the content type object not able to import object getting beloe error.

Caused by: java.lang.RuntimeException: Unable to convert model for employee_related_do.

  at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.convertToRuntimeModel(RuntimeModelFactory.java:209)

  at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.createRuntimeModel(RuntimeModelFactory.java:107)

  at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getRuntimeModel(RuntimeModelFactory.java:42)

  at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.getDataModelRuntimeFromTypeName(RuntimeModelFactory.java:136)

  ... 95 more

Caused by: java.lang.RuntimeException: Unable to convert action

  at com.emc.xcp.runtime.model.impl.convertor.action.ActionDefinitionFactory.getActionDefinition(ActionDefinitionFactory.java:43)

  at com.emc.xcp.runtime.model.impl.convertor.EventConfigConverter.getAllActions(EventConfigConverter.java:82)

  at com.emc.xcp.runtime.model.impl.convertor.EventConfigConverter.convert(EventConfigConverter.java:56)

  at com.emc.xcp.runtime.model.impl.convertor.DatatypeConverter.convertEventConfigs(DatatypeConverter.java:97)

  at com.emc.xcp.runtime.model.impl.convertor.DatatypeConverter.convert(DatatypeConverter.java:70)

  at com.emc.xcp.runtime.model.impl.convertor.DocumentConverter.convert(DocumentConverter.java:36)

  at com.emc.xcp.runtime.model.impl.runtimemodel.RuntimeModelFactory.convertToRuntimeModel(RuntimeModelFactory.java:185)

  ... 98 more

Caused by: DfServiceInstantiationException:: THREAD: qtp16316379-20 - /TestApplication/types/contents/testnew_employee_related_do/defaults?recursive=true; MSG: [DM_VEL_INSTANTIATION_ERROR]error:  "Cannot instantiate Java class"; ERRORCODE: 1902; NEXT: null

  at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.loadModuleClass(ModuleManager.java:258)

  at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.getModuleClass(ModuleManager.java:203)

  at com.documentum.fc.client.DfClient$ClientImpl.getModuleClass(DfClient.java:645)

  at com.documentum.bps.utils.DocbaseUtils.newModuleEx(DocbaseUtils.java:76)

  at com.documentum.bps.utils.DocbaseUtils.newModule(DocbaseUtils.java:97)

  at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.createServiceModule(ServiceConverter.java:55)

  at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.createInvokeProcessService(ServiceConverter.java:41)

  at com.emc.xcp.runtime.model.impl.convertor.action.ServiceConverter.convert(ServiceConverter.java:23)

  at com.emc.xcp.runtime.model.impl.convertor.action.ActionDefinitionFactory.getActionDefinition(ActionDefinitionFactory.java:33)

  ... 104 more

Caused by: java.lang.ClassNotFoundException: com.documentum.bps.startsubproc.xcp.runtime.InvokeProcessService

  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

  at com.documentum.fc.client.impl.bof.classmgmt.URLClassLoaderEx.findClass(URLClassLoaderEx.java:49)

  at com.documentum.fc.client.impl.bof.classmgmt.DelayedDelegationClassLoader.findClass(DelayedDelegationClassLoader.java:241)

  at com.documentum.fc.client.impl.bof.classmgmt.AbstractTransformingClassLoader.findClass(AbstractTransformingClassLoader.java:120)

  at com.documentum.fc.client.impl.bof.classmgmt.DelayedDelegationClassLoader.loadClass(DelayedDelegationClassLoader.java:147)

  at com.documentum.fc.client.impl.bof.classmgmt.AbstractTransformingClassLoader.loadClass(AbstractTransformingClassLoader.java:67)

  at com.documentum.fc.client.impl.bof.classmgmt.ModuleManager.loadModuleClass(ModuleManager.java:254)

  ... 112 more

2015-04-06T10:59:51.479+0530 ERROR [Tqtp16316379-20 - /TestApplication/types/contents/testnew_employee_related_do/defaults?recursive=true] [] [com.emc.xcp.rest.core.commons.exception.DefaultExceptionHandler:92] Global exception handler caught exception:

errorCode=E_ECM_OPERATION_ERROR errorMessage=Error in operation {0} errorDetails=null

  at com.emc.xcp.rest.core.commons.dao.impl.PersistenceFacadeImpl.getTypeDefaults(PersistenceFacadeImpl.java:2088)

  at com.emc.xcp.rest.core.template.service.impl.DefaultValuesServiceImpl.getDefaults(DefaultValuesServiceImpl.java:19)

  at com.emc.xcp.rest.core.feed.controller.TypesController.findTypeDefaults(TypesController.java:127)

  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:597)

  at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)

  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)

  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)

  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)

  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)

  at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at com.emc.xcp.rest.security.filter.BasicAuthFilter.doFilter(BasicAuthFilter.java:48)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at com.emc.xcp.rest.security.filter.RepositoryInfoFilter.doFilter(RepositoryInfoFilter.java:33)

  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at com.emc.xcp.ui.LocaleFilter.doFilter(LocaleFilter.java:26)

  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

  at com.emc.xcp.ui.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:43)

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

  at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)

  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)

  at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)

  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)

  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)

  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)

  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)

  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

  at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)

  at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)

  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

  at org.eclipse.jetty.server.Server.handle(Server.java:345)

  at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)

  at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:919)

  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)

  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)

  at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)

  at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)

  at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)

  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)

  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)

  at java.lang.Thread.run(Thread.java:662)

environment Details:

xCP designer 2.1.

content server 7.1.

please help me to resolve the issue.

Best Answer

Answers

  • abdulquadir.ali@ril.com
    edited April 21, 2015 #3 Answer ✓

    I have cleared the xCP cache it solve my problem.

  • Nawin
    Nawin Member
    edited June 23, 2016 #4

    Hi Abdul,

    We are facing same issue.

    can you please let me know in which location I can delete cache?

    Thanks

    Naveen G

  • gboregowda
    gboregowda Member
    edited April 24, 2021 #5

    For future reference 

    Go to the dfc.properties in your xCP application and look for below line and you will see the path for the cache.

    dfc.data.dir=/tmp/Documentum

    Delete everything inside it and restart the app server.

    Cache for a repo resides inside below location for example

    /tmp/Documentum/cache/20.x.xx/bof/<RepoName>