NullPointerException RichPhaseListener.afterPhase When Running OTN Tutorial (Doc ID 759865.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: 11.1.1.0.1 and later   [Release: Oracle11g and later ]
Information in this document applies to any platform.

Symptoms


You are creating a sample application from the tutorial "Build a Fusion Web Application" on OTN
Learn how to build a web application using ADF Faces, ADF Task Flows, ADF Model and ADF Business Components. (7 Parts)

At the end of "Part 2: Create a Simple User Interface", you follow instructions to "Run the Application":
  1. In the editor window, click the orders-flow.xml tab to bring the diagram forward.
  2. In the task flow diagram, right-click the browseOrders page icon and choose Run.

This opens a new browser page, but this page stays blank.
You see the following Stack Trace displayed in the Log window:
]] Root cause of ServletException.
java.lang.NullPointerException
at oracle.adfinternal.view.faces.context.RichPhaseListener.afterPhase(RichPhaseListener.java:336)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:203)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
Truncated. see log file for complete stacktrace


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