iStore - EBS (MOSC)

MOSC Banner

Getting exception - oracle.apps.jtf.base.resources.FrameworkException: Framework Session is null whi

Hello,

We have a requirement in custom JSP page to redirect to login page in case the user has not logged in or the session has expired. For this we have used seeded code -

RequestCtx.userIsLoggedIn.

Below is the logic used:

<%@ include file="jtfsrnfp.jsp"%>

boolean loggedIn = false;

loggedIn = RequestCtx.userIsLoggedIn();

if(!loggedIn){

response.sendRedirect("AppsLocalLogin.jsp");

}

But we are getting below exception:

<!-- Exceptions on this page if any (which were ignored):

oracle.apps.jtf.base.resources.FrameworkException: Framework Session is null.

java.lang.NullPointerException

-->

Please let us know if anyone know the reason for this exception.

Also please let us know if you know any alternate solution for this.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center