You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/03/06 02:03:16 UTC

DO NOT REPLY [Bug 17705] New: - NPE in BeanSerializer.writeSchema

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17705>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17705

NPE in BeanSerializer.writeSchema

           Summary: NPE in BeanSerializer.writeSchema
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: stevel@apache.org


This is a recent regression (last few weeks, I guess, I have been lax about
updating one prototype), and happens on the ?wsdl fetch of a service. This is
the current CVS_HEAD version of axis; no proprietary changes. 

Fault - ; nested exception is: 
	java.lang.NullPointerException
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.NullPointerException
 faultActor: 
 faultNode: 
 faultDetail: 
	{http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
	at org.apache.axis.encoding.ser.BeanSerializer.writeSchema(BeanSerializer.java:370)
	at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1311)
	at org.apache.axis.wsdl.fromJava.Types.writeTypeForPart(Types.java:321)
	at org.apache.axis.wsdl.fromJava.Emitter.createTypes(Emitter.java:634)
	at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:379)
	at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:262)
	at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.java:491)
	at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
	at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
	at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:374)
	at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
	at
org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:484)
	at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)