[ https://issues.apache.org/jira/browse/AXIS2-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694106#action_12694106 ]
matt welch commented on AXIS2-3864: ----------------------------------- Hi, I also have this issue in 1.4.1. MyEnvelope env = new MyEnvelope(); Object[] args= new Object[] {env}; serviceClient.invokeRobust(opProcess, args); Works fine, but MyEnvelope contains a bean that extends another bean(MyVar extends SuperVar) ... MyVar myVar = new MyVar(); env.setMyVar(myVar); Object[] args= new Object[] {env}; serviceClient.invokeRobust(opProcess, args); Results in the NPE from the original bug submision. Thanks. > 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.