axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5072) BeanUtil bombs on missing setter
Date Thu, 16 Jun 2011 19:58:47 GMT


Sagara Gunathunga  commented on AXIS2-5072:

Can you attach a small sample to reproduce the issue so that we can find exact problem quickly

> BeanUtil bombs on missing setter
> --------------------------------
>                 Key: AXIS2-5072
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.0
>         Environment: OSX
>            Reporter: Jason Tholstrup
>              Labels: adb, beanutil
> First off, thanks for all your work on axis.
> I am currently upgrading from Axis2 1.3 to version 1.6  and I've run into an issue. 
BeanUtil bombs out on a missing setter property that is not in my WSDL when building response
objects on my server side code (see stack trace below).  This "modifiedAttribute" property
has a signature of isModifiedAttribute(int index) and is not included in any wsdl yet this
section still throws an error.  Is there a reason elsewhere in the code where it makes sense
to throw an exception if a property does not have a getter and a setter?  To me the appropriate
decision would seem to be to ignore anything that did not have both.  This seems to be the
decision that my 1.3 version of the code went with since I wasn't seeing this issue before.
 Any thoughts would be appreciated. 
> Thanks,
> Jason Tholstrup
> 14:24:32.129 ERROR [http-8080-8]  o.a.a.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic
line:210 - org.apache.axis2.AxisFault: Property 'modifiedAttribute' in bean class 'com.nicusa.db.tables.Item'is
not readable.
> java.lang.RuntimeException: org.apache.axis2.AxisFault: Property 'modifiedAttribute'
in bean class 'com.nicusa.db.tables.Item'is not readable.
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser( ~[axis2-adb-1.6.0.jar:1.6.0]
> 	at org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl.processProperties(
> 	at
> 	at ~[axis2-kernel-1.6.0.jar:1.6.0]
> 	at
> 	at ~[axiom-api-1.2.11.jar:1.2.11]
> 	at
> 	at ~[axiom-impl-1.2.11.jar:1.2.11]
> 	at ~[axiom-impl-1.2.11.jar:1.2.11]
> 	at ~[axiom-impl-1.2.11.jar:1.2.11]
> 	at ~[axiom-impl-1.2.11.jar:1.2.11]
> 	at ~[axiom-impl-1.2.11.jar:1.2.11]
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse( ~[axis2-adb-1.6.0.jar:1.6.0]
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponseAsDocLitWrapped(
> 	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(
> 	at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(
> 	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(
> 	at org.apache.axis2.engine.AxisEngine.receive( [axis2-kernel-1.6.0.jar:1.6.0]
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
> 	at org.apache.axis2.transport.http.AxisServlet.doPost( [axis2-transport-http-1.6.0.jar:na]
> 	at javax.servlet.http.HttpServlet.service( [servlet-api.jar:na]
> 	at javax.servlet.http.HttpServlet.service( [servlet-api.jar:na]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(
> 	at org.apache.catalina.core.StandardContextValve.invoke(
> 	at org.apache.catalina.core.StandardHostValve.invoke( [catalina.jar:6.0.29]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke( [catalina.jar:6.0.29]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(
> 	at org.apache.catalina.connector.CoyoteAdapter.service( [catalina.jar:6.0.29]
> 	at org.apache.coyote.http11.Http11Processor.process( [tomcat-coyote.jar:6.0.29]
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> 	at$ [tomcat-coyote.jar:6.0.29]
> 	at [na:1.6.0_24]
> Caused by: org.apache.axis2.AxisFault: Property 'modifiedAttribute' in bean class 'com.nicusa.db.tables.Item'is
not readable.
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPropertyQnameList(
> 	... 35 common frames omitted

This message is automatically generated by JIRA.
For more information on JIRA, see:


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

View raw message