java.lang.IllegalStateException: Not in application context

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NPE from AutoRegisterActionServlet

    Oracle Community | 1 decade ago | 666705
    java.lang.IllegalStateException: Not in application context
  2. 0

    NPE in AutoRegisterActionServlet.ensureModuleRegistered

    Oracle Community | 1 decade ago | 666705
    java.lang.IllegalStateException: Not in application context

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not in application context

      at com.bea.p13n.management.ApplicationHelper.getApplicationName()
    2. com.bea.p13n
      IsUserInRoleTag.<init>
      1. com.bea.p13n.management.ApplicationHelper.getApplicationName(ApplicationHelper.java:134)
      2. com.bea.p13n.entitlements.servlets.jsp.taglib.IsUserInRoleTag.<init>(IsUserInRoleTag.java:56)
      2 frames
    3. jsp_servlet._resources._jsp
      __header._jspService
      1. jsp_servlet._resources._jsp.__header._jspService(header.jsp:78)
      1 frame
    4. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
      1 frame
    5. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
      4. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      4 frames
    6. com.bea.wlw
      PageFlowJspFilter.doFilter
      1. com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
      1 frame
    7. Atmosphere weblogic
      RequestDispatcherImpl.include
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      2. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
      3. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
      3 frames
    8. weblogic.servlet.jsp
      PageContextImpl.include
      1. weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
      1 frame
    9. jsp_servlet._resources._jsp
      __basic_45_template._jspService
      1. jsp_servlet._resources._jsp.__basic_45_template._jspService(basic-template.jsp:38)
      1 frame
    10. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
      1 frame
    11. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
      4. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      4 frames
    12. com.bea.wlw
      PageFlowJspFilter.doFilter
      1. com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:81)
      1 frame
    13. Atmosphere weblogic
      RequestDispatcherImpl.include
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      2. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:613)
      3. weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:400)
      3 frames
    14. com.bea.wlw
      Template.doEndTag
      1. com.bea.wlw.netui.tags.template.Template.doEndTag(Template.java:269)
      1 frame
    15. jsp_servlet._resources._jsp
      __error._jspService
      1. jsp_servlet._resources._jsp.__error._jspService(error.jsp:37)
      1 frame
    16. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
      1 frame
    17. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
      4. weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:307)
      5. weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
      6. weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:375)
      7. weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3913)
      8. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
      9. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
      9 frames
    18. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      2 frames