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 2002/06/19 11:01:05 UTC

DO NOT REPLY [Bug 9987] New: - TypeDesc throws NPE

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=9987>.
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=9987

TypeDesc throws NPE

           Summary: TypeDesc throws NPE
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: glyn@apache.org


In adding message text to various exceptions, I encountered 
org.apache.axis.description.TypeDesc which throws a NullPointerException from 
addFieldDesc if a null FieldDesc parameter is supplied. Since this is a 
published interface, a more appropriate exception should be thrown.

I didn't want to fix this as part of the message text addition as it seemed more 
contentious.