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/12/06 00:37:30 UTC

DO NOT REPLY [Bug 22272] - BeanSerailizer cannot serialize casted array

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

BeanSerailizer cannot serialize casted array

dims@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From dims@yahoo.com  2003-12-05 23:37 -------
Problem is in your code :) 

  public MyChild[] getItems() {
    MyChild[] ret = null;
    try {
      ret = (MyChild[])internalUse();
    } catch (java.lang.ClassCastException e){
        e.printStackTrace();
    }
    return ret;
  }