1 Reply Latest reply on Apr 1, 2011 7:17 AM by krikor kherberian

    Jboss 6 Taglibs with no body-content cause a NPE

    krikor kherberian Newbie

      I am moving a perfectly working application in jboss 5 into jboss 6. I am facing the above error, with so many research I dont find any solution to it. Any help?

       

      http://community.jboss.org/message/578300

       

       

      https://issues.jboss.org/browse/JBAS-8579?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

       

       

      http://web.archiveorange.com/archive/v/wr91Mzg8vhRToDr1Sa3C

       

       

       

       

      1 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mainmenu].[jsp]] (http-127.0.0.1-8080-3) Servlet.service() for servlet jsp threw exception: java.lang.NullPointerException

          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1598) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:976) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1247) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1421) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1633) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:976) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1247) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1421) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1633) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:976) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1247) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1421) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1633) [:6.0.0.Final]

          at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:976) [:6.0.0.Final]

        • 1. Jboss 6 Taglibs with no body-content cause a NPE
          krikor kherberian Newbie

          that error above, and also this error log comes out as well along with the above i posted

           

           

          2011-04-01 14:02:25,116 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] (http-127.0.0.1-8080-3) Exception in the filter chain: org.apache.jasper.JasperException: Unable to compile class for JSP

              at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:619) [: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]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) [:]

              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:99) [:]

              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) [:]

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) [:]

              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) [:]