My Oracle Support Banner

Using "cloneWorkspaceFromFile" WLST Command Returns NullPointerException if a Workspace Already Exists with the Same WorkspaceID as the WorkspaceID From the XML File (Doc ID 2893622.1)

Last updated on APRIL 12, 2024

Applies to:

Oracle WebCenter Enterprise Capture - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Within an environment, Oracle WebCenter Enterprise Capture 12.2.1.4.0 with Patch 34404284 is configured.  When attempting to clone a capture workspace using the "cloneWorkspaceFromFile" WLST command, a NullPointerException error is received and cloning fails.  The error appears in the log as:

[2022-08-31T13:17:13.283-05:00] [capture_server1] [ERROR] [] [oracle.adf.model.adapter.bean.BeanDCInvocationHandler] [host: <HOST>] [nwaddr: <IP ADDRESS] [tid: [ACTIVE].ExecuteThread: '47' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: capture] [partition-name: DOMAIN] [DSID: <DSID>] [tenant-name: GLOBAL] [TARGET: /Domain_base_domain/base_domain/capture_server1/capture] [TARGET_TYPE: oracle_oddc] [LOG_FILE: E:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\capture_server1\logs\capture_server1-diagnostic.log] InvocationTargetException ->invoke(cloneWorkspace)[[
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.adf.model.adapter.bean.BeanDCInvocationHandler.invoke(BeanDCInvocationHandler.java:156)
...
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean.createDeepCopyOfWorkspace(WorkspaceManagerSessionBean.java:2238)
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean.cloneWorkspace(WorkspaceManagerSessionBean.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
...
at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:410)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:239)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:195)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:46)
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean_13uf5s_WorkspaceManagerSessionImpl.cloneWorkspace(Unknown Source)
... 118 more
Caused by: java.lang.NullPointerException
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean.createDeepCopyOfWorkspace(WorkspaceManagerSessionBean.java:2238)
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean.cloneWorkspace(WorkspaceManagerSessionBean.java:557)
...
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy284.cloneWorkspace(Unknown Source)
at oracle.odc.workspacemanager.WorkspaceManagerSessionBean_13uf5s_WorkspaceManagerSessionImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
... 119 more

]]

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.