I believe it is a bug that is being triggered by having the debug logging setup. I had a log4j.properties in my classpath that I was using. I removed the file and it works OK now.
The msgContext.getOperation() in the AxisServer is getting called in the invoke method when the tlog.isDebugEnabled() is true, which is what was happening in my case. The msgContext.getOperation() is returning null which is causing the rucus. Les ----- Original Message ----- From: "Doug Breaux" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 8:12 AM Subject: Re: AdminClient throwing NullPointerException > ok. since nobody else has responded here, and i don't find an existing > bug in bugzilla, i'm going to open one. > > Les Gerads wrote: > > I've received the samer error for the past few days under Tomcat 4.0.1 and > > have not been able to track it down. > > > > ----- Original Message ----- > > From: "doug" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, July 16, 2002 3:59 PM > > Subject: AdminClient throwing NullPointerException > > > > > > > >>this has happened to me several times now. running Axis-beta-3 under > >>Tomcat 4.04, when i try to run: > >> > >>java org.apache.axis.client.AdminClient list > >> > >>i get the following Exception: > >> > >>- Exception: > >>AxisFault > >> faultCode: {http://xml.apache.org/axis/}Server.userException > >> faultString: java.lang.NullPointerException > >> faultActor: null > >> faultDetail: > >> stackTrace: java.lang.NullPointerException > >> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:333) > >> at > >>org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:577) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > >> at > >> > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > > FilterChain.java:247) > > > >> at > >> > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > > ain.java:193) > > > >> at > >> > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > > va:243) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > > >> at > >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > >> at > >> > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > > va:190) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > > >> at > >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > >> > >> at > >>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) > >> at > >> > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > > ) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > > >> at > >> > > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > > java:170) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > > >> at > >> > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > > ) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > > >> at > >>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 64) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > > >> at > >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > >> at > >> > > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > > :174) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > > 66) > > > >> at > >> > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > > > >> at > >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > >> > >> at > >> > > > > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: > > 1027) > > > >> at > >> > > > > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 > > ) > > > >> at java.lang.Thread.run(Unknown Source) > >> > >> > >>java.lang.NullPointerException > >> at > >> > > > > org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:13 > > 5) > > > >> at > >> > > > > org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserializati > > onContextImpl.java:904) > > > >> at > >>org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403) > >> at > >> > > > > org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator > > .java:1550) > > > >> at > >> > > > > org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM > > LDocumentScanner.java:1204) > > > >> at > >> > > > > org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. > > java:381) > > > >> at > > > > org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098) > > > >> at javax.xml.parsers.SAXParser.parse(SAXParser.java:393) > >> at > >> > > > > org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon > > textImpl.java:213) > > > >> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:457) > >> at org.apache.axis.Message.getSOAPEnvelope(Message.java:362) > >> at org.apache.axis.client.Call.invokeEngine(Call.java:2046) > >> at org.apache.axis.client.Call.invoke(Call.java:2016) > >> at org.apache.axis.client.Call.invoke(Call.java:1232) > >> at > > > > org.apache.axis.client.AdminClient.process(AdminClient.java:316) > > > >> at > > > > org.apache.axis.client.AdminClient.process(AdminClient.java:286) > > > >> at org.apache.axis.client.AdminClient.list(AdminClient.java:146) > >> at org.apache.axis.client.AdminClient.list(AdminClient.java:139) > >> at > > > > org.apache.axis.client.AdminClient.process(AdminClient.java:234) > > > >> at org.apache.axis.client.AdminClient.main(AdminClient.java:338) > >> > >>--------------------------------------------------------------------- > >>but the "View the list of deployed Web services" link under index.html > >>does work. any ideas? > >> > >>i have the source package also, and i'm pretty sure the line number > >>doesn't match, so i don't even know where to start looking. the line > >>number listed in the stack trace, AxisServer.java:333, only has one > >>reference in it, tlog.debug(), and tlog has already been used well > >>before this line is reached. > >> > > > > >