我有一个 axis2 Web服务在java程序中调用其他Web服务。它第一次运行正常,但是如果第二次调用该进程,则axis2 Web服务将抛出异常,如下所示:
java.lang.NullPointerException
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:825)
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:271)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
有什么想法吗?