Hi Randy, Randy Hoffman wrote: > I moved to 0.95 and it fixed an issue i was having, but also created > one. I am using REST services running under Tomcat. If i hit the > server with an invalid operation request, but a valid service, i get an > Operation Not found Axis fault as i would expect, but if i hit it with a > non-existent service request, i get a null pointer exception (below) > instead of a AxisService Not found yet Axis fault that i got in 0.94. > Not sure what to look for, ideas?
Strange. I tried to reproduce this bug. But had no luck. This is what I did. Deployed 0.95 Axis2 war, downloaded from the site (http://ws.apache.org/axis2/download.cgi), and copied that Tomcat and started Tomcat. Then I point the browser to http://localhost:8080/axis2/services/NoService. I was directed to http://localhost:8080/axis2/listSingleService.jsp, which says "No service found in this location". I'm not getting this NPE as you have given. If you can help me to reproduce this, may be I can help you. BTW, I looked AxisEngine.java:191 and it seemed there can't be any NPE from that place. -- Chinthaka > > java.lang.NullPointerException > > org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:191) > > org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:191) > org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:125) > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > Thanks, > > randy
signature.asc
Description: OpenPGP digital signature
