Forum Stats

  • 3,827,812 Users
  • 2,260,823 Discussions
  • 7,897,381 Comments

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(GlobalConfiguratorImpl.java:333)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$CacheRenderKit.<init>(FacesContextFactoryImpl.java:86)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
......

We are using JDeveloper 11.1.1.6, WebCenter Portal - Framework 11.1.1.6.0.111214.0952

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.