org.apache.jasper.JasperException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problen running Struts application!!
    via by Jaffery Rab,
  • Business Intelligence Blog: Mondrian + MySQL Setup
    via by Unknown author,
  • I'm trying to migrate an app from JBoss 5.1 to 6.0. Jboss 6.0 fails to compile any JSP file that contains spring security tags (<security:authorize ... >) with the following error: 2011-02-07 19:18:40,713 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp]] (http-127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: /pages/login.jsp(37,7) null at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) [:6.0.0.Final] at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:300) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:333) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:440) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398) [:6.0.0.Final] at org.apache.jasper.compiler.Parser.parse(Parser.java:130) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255) [:6.0.0.Final] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:358) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:338) [:6.0.0.Final] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:325) [:6.0.0.Final] at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [:6.0.0.Final] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.Final] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final] HOW TO FIX: Adding "<body-content>JSP</body-content>" to the security.tld file fixes the problem. I have attached the tld file that loads ok in JBoss 6.
    via by Dumitru Postoronca,
    • org.apache.jasper.JasperException: The entity passed must not be null at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    treefolktreefolk
    6 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    71 more bugmates