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 "Chris James (JIRA)" <ji...@apache.org> on 2008/08/19 17:13:44 UTC

[jira] Commented: (AXIS2-3864) NPE at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:137)

    [ https://issues.apache.org/jira/browse/AXIS2-3864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623695#action_12623695 ] 

Chris James commented on AXIS2-3864:
------------------------------------

Hey Deepal,
 How do I get this fix? I dont see it on the 1.4.1 or night build.


> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org