axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3864) NPE at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:137)
Date Thu, 03 Jul 2008 08:42:45 GMT

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

Deepal Jayasinghe commented on AXIS2-3864:
------------------------------------------

I am sorry that you do not have give me the enough information to reproduce the issue. So
can you please give me some information.

Thank you!
Deepal

> 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


Mime
View raw message