My Oracle Support Banner

Internal Error Trying to Import in WebCenter Portal 12c (Doc ID 2198521.1)

Last updated on JULY 03, 2019

Applies to:

Oracle WebCenter Portal - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Trying to import into WebCenter Portal 12c.  When using the WebCenter GUI or WLST the following Internal Error occurs:

 

wls:/wc_domain/domainRuntime/> importWebCenterPortals(appName='webcenter', fileName='exportIntranetPortal5092016.par',forceOffline='1',importConnections='0', names='<portal_name>', importLog='importIntranetPortal_15092016.log',server='WC_Portal1')

Starting portal import.
Portal(s) import started...
Importing "<portal_name>"
Portal/Portal Template import operation failed. Cause of failures:
'IntranetPortal': An internal error occurred while importing portal data. Refer to the WebCenter Portal Server log for more information.
Check the WebCenter Portal log files for additional details.

 

Additional Errors seen in the logs are like:

[2016-09-27T19:10:34.639-03:00] [WC_Portal1] [TRACE:16] [] [oracle.webcenter.lifecycle.data.PersistenceUnit] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [SRC_CLASS: oracle.webcenter.lifecycle.data.PersistenceUnit] [SRC_METHOD: doPersisenceImport] THROW[[
oracle.webcenter.lifecycle.LifecycleException: Se ha producido un error interno al importar los datos del portal. Consulte el archivo log del servidor del portal de WebCenter para obtener más información.
at oracle.webcenter.lifecycle.data.PersistenceUnit.doPersistenceImport(PersistenceUnit.java:487)
at oracle.webcenter.lifecycle.data.PersistenceUnit.doImport(PersistenceUnit.java:360)
at oracle.webcenter.lifecycle.operation.ImportOperation.doImport(ImportOperation.java:151)
at oracle.webcenter.lifecycle.LifecycleService.doImport(LifecycleService.java:3035)
at oracle.webcenter.lifecycle.LifecycleService.importPortals(LifecycleService.java:7526)
at oracle.webcenter.lifecycle.mxbean.ImportInstance.doImportInternal(ImportInstance.java:260)
at oracle.webcenter.lifecycle.mxbean.ImportInstance.doImport(ImportInstance.java:212)
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.webcenter.core.lifecycle.state.StatefulInvocationHandler.invoke(StatefulInvocationHandler.java:81)
at oracle.webcenter.core.lifecycle.state.TimeoutInvocationHandler.invoke(TimeoutInvocationHandler.java:147)
at com.sun.proxy.$Proxy429.doImport(Unknown Source)
at oracle.webcenter.lifecycle.mxbean.ImportInstanceProxy$1.call(ImportInstanceProxy.java:79)
at oracle.webcenter.lifecycle.mxbean.ImportInstanceProxy$1.call(ImportInstanceProxy.java:75)
...
Caused by: oracle.webcenter.portal.transaction.TransactionException: An error occurred while committing a transaction.
at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.commit(TransactionManagerImpl.java:510)
at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.commitIfAllowed(TransactionManagerImpl.java:467)
at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.commitTransaction(TransactionManagerImpl.java:326)
at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl$Proxy$_$$_WeldClientProxy.commitTransaction(Unknown Source)
at oracle.webcenter.lifecycle.data.PersistenceUnit$2.run(PersistenceUnit.java:460)
at java.security.AccessController.doPrivileged(Native Method)
....
Caused by: javax.persistence.RollbackException: Exception [EclipseLink-106] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [_persistence_set_text_vh] on the object is throwing an exception.
Argument: [{null}]
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NullPointerException
Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[text]
Descriptor: RelationalDescriptor(oracle.webcenter.portal.persistence.entity.TextValue --> [DatabaseTable(WC_PORTAL_ENTITY_TEXT_VALUE)])
at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:159)
at oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl.commit(TransactionManagerImpl.java:485)
... 106 more
Caused by: Exception [EclipseLink-106] (Eclipse Persistence Services - 2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [_persistence_set_text_vh] on the object is throwing an exception.
Argument: [{null}]
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.NullPointerException
Mapping: org.eclipse.persistence.mappings.ManyToOneMapping[text]
Descriptor: RelationalDescriptor(oracle.webcenter.portal.persistence.entity.TextValue --> [DatabaseTable(WC_PORTAL_ENTITY_TEXT_VALUE)])
at org.eclipse.persistence.exceptions.DescriptorException.targetInvocationWhileSettingValueThruMethodAccessor(DescriptorException.java:1768)
at org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:275)
at org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:226)
at org.eclipse.persistence.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1652)
at org.eclipse.persistence.internal.indirection.BasicIndirectionPolicy.reset(BasicIndirectionPolicy.java:273)
at org.eclipse.persistence.mappings.ObjectReferenceMapping.mergeIntoObject(ObjectReferenceMapping.java:457)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.mergeIntoObject(ObjectBuilder.java:4133)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.mergeChangesIntoObject(ObjectBuilder.java:4066)
...
Caused by: 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 org.eclipse.persistence.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:247)
... 127 more
Caused by: java.lang.NullPointerException
at oracle.webcenter.portal.persistence.entity.TextValue.setText(TextValue.java:116)
at oracle.webcenter.portal.persistence.entity.TextValue._persistence_set_text_vh(TextValue.java)
... 132 more

 

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
Cause
Solution


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