NETUI Pageflow throws java.lang.NullPointerException intermittently (Doc ID 1152938.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle Workshop for Weblogic - Version 9.2 to 10.3 [Release 9.2 to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 04-June-2014***

Symptoms

You will notice that the page flow application on WLW runs fine for some time and then you will see the below error:

java.lang.NullPointerException
at org.apache.beehive.netui.pageflow.internal.AdapterManager.getServletContainerAdapter(AdapterManager.java:43)


This is because the servlet context is null. At this time no other page flow in the application is accessible.

Stacktrace
=======

java.lang.NullPointerException
at org.apache.beehive.netui.pageflow.internal.AdapterManager.getServletContainerAdapter(AdapterManager.java:43)
at org.apache.beehive.netui.pageflow.internal.DeferredSessionStorageHandler.applyChanges(DeferredSessionStorageHandler.java:305)
at com.bea.portlet.adapter.scopedcontent.ScopedContentStorageHandler.applyChanges(ScopedContentStorageHandler.java:73)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:863)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1170)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)
at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:135)
at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:290)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:426)

Changes

N/A

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms