java.lang.IllegalStateException: Not in application context

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
via Oracle Community by 666705, 1 year ago
Not in application context
via Oracle Community by 3004, 1 year ago
via Oracle Community by 666705, 1 year ago
java.lang.IllegalStateException: Not in application context
at com.bea.p13n.management.ApplicationHelper.getApplicationName(ApplicationHelper.java:134)
at com.bea.p13n.entitlements.servlets.jsp.taglib.IsUserInRoleTag.(IsUserInRoleTag.java:56)
at jsp_servlet._resources._jsp.__header._jspService(header.jsp:78)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
at jsp_servlet._resources._jsp.__basic_45_template._jspService(basic-template.jsp:38)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
at com.bea.wlw.netui.tags.template.Template.doEndTag(Template.java:269)
at jsp_servlet._resources._jsp.__error._jspService(error.jsp:37)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:375)
at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3913)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.