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/05/23 17:10:52 UTC

DO NOT REPLY [Bug 9352] New: - constructor of bean should be public

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

constructor of bean should be public

           Summary: constructor of bean should be public
           Product: Axis
           Version: beta-2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: swesten@informatica.com


As a newcomer to Axis i experimented with the automatic bean serialization. I 
had forgotten to create a constructor that was public. (and no parameters)

Of course stupid of me, however the error i got was a null-pointer and that a 
bean field could not be assigned/converted. This gives the wrong indication of 
what's wrong. (i thought the bean was already created otherwise an assignment 
error could not occur)