NPE at 
org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:137)
-----------------------------------------------------------------------------------

                 Key: AXIS2-3864
                 URL: https://issues.apache.org/jira/browse/AXIS2-3864
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.4
         Environment: Windows + Jboss 4.2.1
            Reporter: Dmitry Yakovlev


I have a JavaBean that I was trying to pass though web-services.
here is a java classes:

class A implements Serializable {
        private static final long serialVersionUID = -3124131057978320628L;
        private Integer loadDeletedItems = 0;

        public Integer getLoadDeletedItems() {
                return loadDeletedItems;
        }

        public void setLoadDeletedItems(Integer loadDeletedItems) {
                this.loadDeletedItems = loadDeletedItems;
        }
}

class B extends A {

      private Integer index = 0;

       .... // getter/setter of index field

}

If I pass instance of class "A" it works fine. But if I pass instance of class 
B I get an NPE at 
org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:137).
More over, It worked in AXIS2 - 1.3 but does not work in AXIS2-1.4.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to