<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Remy, please fix this.<br>
<br>
After a clean build of JEE5_TCK hitting
<a class="moz-txt-link-freetext" href="http://localhost:8080/jmx-console">http://localhost:8080/jmx-console</a><br>
already produces these errors. It seems that all webapp access is
essentially broken.<br>
<br>
The issuse is also reported here<br>
<a class="moz-txt-link-freetext" href="http://jira.jboss.org/jira/browse/JBAS-3350">http://jira.jboss.org/jira/browse/JBAS-3350</a><br>
<br>
12:00:48,838 FATAL [JspFactoryImpl] Exception initializing page context<br>
java.lang.NullPointerException<br>
        at
org.apache.catalina.session.StandardSession.access(StandardSession.java:618)<br>
        at
org.apache.catalina.connector.Request.doGetSession(Request.java:2307)<br>
        at
org.apache.catalina.connector.Request.getSession(Request.java:2065)<br>
        at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)<br>
        at
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)<br>
        at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544)<br>
        at
org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:493)<br>
        at
org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.java:164)<br>
        at
org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:139)<br>
        at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:107)<br>
        at
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:64)<br>
        at
org.apache.jsp.displayOpResult_jsp._jspService(displayOpResult_jsp.java:47)<br>
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)<br>
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br>
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:270)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)<br>
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)<br>
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)<br>
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)<br>
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)<br>
        at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:290)<br>
        at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:102)<br>
        at
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)<br>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:270)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)<br>
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:220)<br>
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)<br>
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)<br>
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)<br>
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)<br>
        at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)<br>
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)<br>
        at
org.jboss.web.tomcat.tc6.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)<br>
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)<br>
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:823)<br>
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)<br>
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)<br>
        at java.lang.Thread.run(Thread.java:595)<br>
12:00:48,855 ERROR [CoyoteAdapter] An exception or error occurred in
the container during the request processing<br>
java.lang.NullPointerException<br>
        at
org.apache.catalina.session.StandardSession.isValid(StandardSession.java:578)<br>
        at
org.apache.catalina.connector.Request.doGetSession(Request.java:2252)<br>
        at
org.apache.catalina.connector.Request.getSession(Request.java:2065)<br>
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)<br>
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)<br>
        at
org.jboss.web.tomcat.tc6.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)<br>
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)<br>
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)<br>
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:823)<br>
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)<br>
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)<br>
        at java.lang.Thread.run(Thread.java:595)<br>
12:00:48,856 ERROR [Http11Processor] Error processing request<br>
java.lang.NullPointerException<br>
        at
org.apache.catalina.session.StandardSession.endAccess(StandardSession.java:632)<br>
        at
org.apache.catalina.connector.Request.recycle(Request.java:418)<br>
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238)<br>
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:823)<br>
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)<br>
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)<br>
        at java.lang.Thread.run(Thread.java:595)<br>
<br>
</tt><br>
Remy Maucherat (JIRA) wrote:
<blockquote
 cite="mid17814989.1161170861896.JavaMail.jira@cloud.prod.atl2.jboss.com"
 type="cite">
  <pre wrap="">    [ <a class="moz-txt-link-freetext" href="http://jira.jboss.com/jira/browse/JBAS-3350?page=comments#action_12345423">http://jira.jboss.com/jira/browse/JBAS-3350?page=comments#action_12345423</a> ] 
            
Remy Maucherat commented on JBAS-3350:
--------------------------------------

No, I don't have that branch yet, and HEAD is broken. The issue seems simpler than what I thought though: it's a request using an invalidated session which can do that. I just made another fix (but did not verify it using the test case either). Sorry for the trouble.

  </pre>
  <blockquote type="cite">
    <pre wrap="">NPE on &lt;service-ref&gt; in web.xml
-------------------------------

                Key: JBAS-3350
                URL: <a class="moz-txt-link-freetext" href="http://jira.jboss.com/jira/browse/JBAS-3350">http://jira.jboss.com/jira/browse/JBAS-3350</a>
            Project: JBoss Application Server
         Issue Type: Bug
     Security Level: Public(Everyone can see) 
           Reporter: Thomas Diesler
        Assigned To: Remy Maucherat
           Priority: Critical
            Fix For: JBossAS-5.0.0.Beta


tdiesler@TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
$ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
java.lang.NullPointerException
        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
        at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
        at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
&lt;web-app version='2.4' xmlns='<a class="moz-txt-link-freetext" href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a>' xmlns:xsi='<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>' xsi:schemaLocation='<a class="moz-txt-link-freetext" href="http://java.sun.com/xml/ns/j2ee">http://java.sun.com/xml/ns/j2ee</a> <a class="moz-txt-link-freetext" href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd</a>'&gt;
 &lt;servlet&gt;
  &lt;servlet-name&gt;Hello&lt;/servlet-name&gt;
  &lt;servlet-class&gt;org.jboss.ws.integration.jboss.JBossServiceEndpointServlet&lt;/servlet-class&gt;
  &lt;init-param&gt;
   &lt;param-name&gt;ServiceEndpointImpl&lt;/param-name&gt;
   &lt;param-value&gt;org.jboss.test.ws.wsse.HelloJavaBean&lt;/param-value&gt;
  &lt;/init-param&gt;
 &lt;/servlet&gt;
 &lt;servlet&gt;
  &lt;servlet-name&gt;RpcTestClientServlet&lt;/servlet-name&gt;
  &lt;servlet-class&gt;org.jboss.test.ws.wsse.RpcTestClientServlet&lt;/servlet-class&gt;
 &lt;/servlet&gt;
 &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;Hello&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/Hello&lt;/url-pattern&gt;
 &lt;/servlet-mapping&gt;
 &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;RpcTestClientServlet&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/RpcTestClientServlet&lt;/url-pattern&gt;
 &lt;/servlet-mapping&gt;
 &lt;service-ref&gt;
  &lt;service-ref-name&gt;service/HelloService&lt;/service-ref-name&gt;
  &lt;service-interface&gt;javax.xml.rpc.Service&lt;/service-interface&gt;
  &lt;wsdl-file&gt;WEB-INF/wsdl/HelloService.wsdl&lt;/wsdl-file&gt;
  &lt;jaxrpc-mapping-file&gt;WEB-INF/jaxrpc-mapping.xml&lt;/jaxrpc-mapping-file&gt;
  &lt;port-component-ref&gt;
   &lt;service-endpoint-interface&gt;org.jboss.test.ws.wsse.Hello&lt;/service-endpoint-interface&gt;
  &lt;/port-component-ref&gt;
 &lt;/service-ref&gt;
&lt;/web-app&gt;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
</pre>
</body>
</html>