axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raja Chattopadhyay (JIRA)" <>
Subject [jira] Created: (AXIS2-2054) Problem Serializing Sets
Date Mon, 29 Jan 2007 14:17:49 GMT
Problem Serializing Sets

                 Key: AXIS2-2054
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.1.1
         Environment: Tomcat 5.0, Apache axis2-1.1, JDK1.5.0, XP
            Reporter: Raja Chattopadhyay

I am trying to set java.util.Set in a Java Bean in my web service. After setting the bean,
I am trying to return the bean as return type.

Doing so I am facing an Exception like:

Jan 27, 2007 10:15:02 AM
org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
SEVERE: Exception occurred while trying to invoke service 
method getAdrresses
java.lang.IllegalArgumentException: null rcl

To re-create the problem:

 create a bean like

                  public class SampleBean{
                                    Set set;
                                    public void setData(Set set){
                                      this.set = set;

                                    public Set getData(){
                                      return set;

 Create a Service Class

    public class TestService{

               public SampleBean getAddress(){

               Set set = new HashSet();
               SampleBean sampleBean = new SampleBean();
               return sampleBean;


Invoke this Service using RPCMessageReceiver.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message