My Oracle Support Banner

Importing a Portal Fails with "java.lang.StackOverflowError" (Doc ID 2877584.1)

Last updated on OCTOBER 16, 2023

Applies to:

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

Symptoms

Importing a portal is failing with the following error:


ERROR

<Error> <oracle.webcenter.webcenterapp.internal.view.lifecycle.WebCenterLifecycleProgressBarHelper> <BEA-000000> <FAILED_DURING_IMPORT_SUMMARY
java.lang.StackOverflowError


STEPS

The issue can be reproduced at will with the following steps:

  1. Export the portal from source instance.
     

  2. Import the portal to a target instance.

    The WC_Portal.out shows the following errors:

    <DATE_TIME> <Error> <oracle.webcenter.concurrent.Submission> <WCS-67005> <Submission[id=2, task=Task[class=oracle.webcenter.concurrent.RunnableTask, service=oracle.webcenter.lifecycle.import, resource=null, isDone=false, requestedTimeoutPeriod=none, actualTimeoutPeriod=none], source=Task[class=oracle.webcenter.concurrent.RunnableTask, service=oracle.webcenter.lifecycle.import, resource=null, isDone=false, requestedTimeoutPeriod=none, actualTimeoutPeriod=none] (class=oracle.webcenter.concurrent.RunnableTask), submittedTime=<time>, stopRequestedTime=0, isHung=false] caught exception running task: Task[class=oracle.webcenter.concurrent.RunnableTask, service=oracle.webcenter.lifecycle.import, resource=null, isDone=false, requestedTimeoutPeriod=none, actualTimeoutPeriod=none].
    java.lang.StackOverflowError
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getIdentityMap(IdentityMapManager.java:992)
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getFromIdentityMap(IdentityMapManager.java:803)
         at org.eclipse.persistence.internal.sessions.IdentityMapAccessor.getFromLocalIdentityMap(IdentityMapAccessor.java:437)
         ...

    <DATE_TIME> <Error> <oracle.webcenter.portal.persistence.transaction.TransactionManagerImpl> <WCS-72060> <The TransactionManager has uncommitted changes which have been rolled back.>
    <DATE_TIME> <Emergency> <oracle.dfw.incident> <BEA-000000> <incident 4 created with problem key "DFW-99998 [java.lang.StackOverflowError][oracle.webcenter.portal.persistence.impl.entitymanager.PortalEntityObjectManagerImpl.findPortalEntityObjectById][webcenter]">
    ...

    <DATE_TIME> <Error> <oracle.webcenter.webcenterapp.internal.view.lifecycle.WebCenterLifecycleProgressBarHelper> <BEA-000000> <FAILED_DURING_IMPORT_SUMMARY
    java.lang.StackOverflowError
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getIdentityMap(IdentityMapManager.java:992)
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getFromIdentityMap(IdentityMapManager.java:803)
         at org.eclipse.persistence.internal.sessions.IdentityMapAccessor.getFromLocalIdentityMap(IdentityMapAccessor.java:437)
         at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.checkCacheForObject(ExpressionQueryMechanism.java:859)
         ...

    <DATE_TIME> <Error> <oracle.webcenter.webcenterapp.internal.view.lifecycle.WebCenterLifecycleProgressBarHelper> <BEA-000000> <Exception Occurred lifecycle operation
    oracle.webcenter.concurrent.ExecutionException:
      service : oracle.webcenter.lifecycle.import
      resource : null
    source : Task[class=oracle.webcenter.concurrent.RunnableTask, service=oracle.webcenter.lifecycle.import, resource=null, isDone=true, requestedTimeoutPeriod=none, actualTimeoutPeriod=none] (oracle.webcenter.concurrent.RunnableTask)
    submission : 2
         at oracle.webcenter.concurrent.Submission.get(Submission.java:222)
         at oracle.webcenter.concurrent.SubmissionFuture.get(SubmissionFuture.java:85)
         at oracle.webcenter.concurrent.SubmissionFuture.get(SubmissionFuture.java:78)
         at oracle.webcenter.webcenterapp.internal.view.lifecycle.WebCenterLifecycleProgressBarHelper.lifecyclePollTicker(WebCenterLifecycleProgressBarHelper.java:196)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ...

    Caused By: java.lang.StackOverflowError
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getIdentityMap(IdentityMapManager.java:992)
         at org.eclipse.persistence.internal.identitymaps.IdentityMapManager.getFromIdentityMap(IdentityMapManager.java:803)
         at org.eclipse.persistence.internal.sessions.IdentityMapAccessor.getFromLocalIdentityMap(IdentityMapAccessor.java:437)
         at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.checkCacheForObject(ExpressionQueryMechanism.java:859)
         at org.eclipse.persistence.queries.ReadObjectQuery.checkEarlyReturnLocal(ReadObjectQuery.java:260)

     

 

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.