[jboss-user] [JBoss Tools] New message: "JBoss EAP 5 throws JasperException if started with JBoss Tools"

Jochen Riedlinger do-not-reply at jboss.com
Mon Feb 8 08:19:47 EST 2010


User development,

A new message was posted in the thread "JBoss EAP 5 throws JasperException if started with JBoss Tools":

http://community.jboss.org/message/524770#524770

Author  : Jochen Riedlinger
Profile : http://community.jboss.org/people/j_ri

Message:
--------------------------------------------------------------
Hi,
 
I configured a new eclipse using JBoss Tools 3.1 CR. Unfortunately I get a strange behaviour with some web applications, if my JBoss EAP 5.0.0 is started with JBossAS Tools 2.1.0.v200912250601M-H198-CR1 from within eclipse.
 
I get this exception page in the browser:
 
 
HTTP Status 500 -
 
type Exception report
 
message
 
description The server encountered an internal error () that prevented it from fulfilling this request.
 
exception
 
org.apache.jasper.JasperException: An exception occurred processing JSP page /restricted/startseite.jsp at line 15
 
12:         <c:set var="content" value="${sessionScope[Constants.CONTENT_STARTSEITE]}" scope="page" />
13:         <div id="seitenkopf">
14:             <%@ include file="../common/seitenkopf.jspf"%>
15:             <sec:granted permission="#FiolaAccess">
16:                 <c:if test="${not content.mitarbeiterGesperrt}">
17:                     <%@ include    file="/restricted/common/workflow/menu.jspf"%>
18:                 </c:if>
 

Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:388)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    de.lbank.framework.web.struts.LActionServlet.service(LActionServlet.java:53)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 
root cause
 
java.lang.NullPointerException
    java.text.MessageFormat.applyPattern(MessageFormat.java:422)
    java.text.MessageFormat.<init>(MessageFormat.java:350)
    java.text.MessageFormat.format(MessageFormat.java:811)
 
 
 
This error does not occur if I start my JBoss on the commandline and it does not occur if I start the server using the old version  JBossAS Tools    2.1.0.v200909110340M-H277-M3  of the JBoss tools.
 
( If you wonder about the "#" character in my JSP. this is not the "#" from JSP syntax, but belongs to a bad third-party framwork we use (www.common-controls.com). )
 
 
Another strange thing with the newer version of JBossAS Tools is that the log output from JBoss is not always written to the eclipse console.
 
 
Do you have any ideas what's wrong?
 
Thanks
Jochen

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524770#524770




More information about the jboss-user mailing list