My Oracle Support Banner

Adding a Custom Adf Taskflow that Uses Contextual Events to a WebCenter Portal Page Returns : Internal Error / java.lang.RuntimeException: ZIP_STATE_FAILED / java.io.NotSerializableException (Doc ID 2813332.1)

Last updated on OCTOBER 11, 2021

Applies to:

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

Symptoms

Adding a custom ADF taskflow that uses contextual events to a WebCenter Portal Page returns the following error: 

ERROR 

Internal Error (WCS#YYYY.MM.DD.HH.MM.SS)

The WC_Portal-diagnostic.log shows the following errors: 

[<TIMESTAMP>] [WC_Portal] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6[[
java.lang.RuntimeException: ZIP_STATE_FAILED
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl$PageState._zipToBytes(StateManagerImpl.java:1825)
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl$PageState.<init>(StateManagerImpl.java:1601)
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl._saveStateToCache(StateManagerImpl.java:369)
     at org.apache.myfaces.trinidadinternal.application.StateManagerImpl.saveView(StateManagerImpl.java:241)
...
Caused by: java.io.NotSerializableException: oracle.jbo.uicli.binding.JUFormBinding
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
...
 
[<TIMESTAMP>] [WC_Portal] [WARNING] [] [oracle.adfinternal.view.faces.context.RichExceptionHandler] [tid: [ACTIVE].ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5[[
java.lang.NullPointerException
     at oracle.adf.controller.internal.mds.LockedTransactionManager.hasChanges(LockedTransactionManager.java:38)
     at oracle.adfinternal.controller.lifecycle.MetadataCommitHandler.execute(MetadataCommitHandler.java:57)
     at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.metadataCommit(PageLifecycleImpl.java:528)
     at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:240)
...
 
[<TIMESTAMP>] [WC_Portal] [WARNING] [] [oracle.webcenter.webcenterapp.internal.view.backing.PublicPageBean] [tid: [ACTIVE].ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USERID>] [ecid: <ECID>] [APP: webcenter] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] Internal Error (WCS#YYYY.MM.DD.HH.MI.SS)

 

FACTS


STEPS

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

  1. Create an ADF Web Application with a task flow that uses contextual events.
     
  2. Run the application in JDeveloper and confirm it works.
     
  3. Deploy as shared library to WebCenter Portal.
     
  4. Add the task flow to a custom catalog.
     
  5. Add the task flow to a page.
    Here the Internal Error is displayed.

  6. Check the Portal diagnostic log file.
    Here the "java.lang.RuntimeException: ZIP_STATE_FAILED" error is displayed.

 

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.