Forum Stats

  • 3,827,812 Users
  • 2,260,823 Discussions


java.lang.IllegalStateException error when consuming a portlet

When attempting to consume a portlet within a Webcenter portlet the portlet briefly displays and then constantly refreshes. On each refresh the following error is being logged (the PPR number increments each time the portlet refreshes):

*<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #35*
java.lang.IllegalStateException: The expected request type is not the same as the current request type.
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.getExternalContext(
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(

We are using JDeveloper, WebCenter Portal - Framework

The portlet being included includes a farily simple ADF Query and Table component. It was included as a ADF Rich Portlet.

There was an earlier thread that seemed to have the same issue: 2343302
It is marked as answered but the answer was a series of steps including stopping the portal, server, redeploying the portlet, and restarting. It also suggested deleting any unused bindings from the Executable section of the page. These steps failed to fix my issue.

Has anyone else seen this issue and found a concrete fix for it?

Thanks in advance.
This discussion has been closed.