ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Leyba" <xle...@gmail.com>
Subject Re: List and Axis
Date Tue, 05 Sep 2006 07:11:03 GMT
On 9/4/06, Chris Lamey <clamey@localmatters.com> wrote:
>
>
>
> You probably need to disable GCLIB and Lazy Loading in the sqlmap config if
> you want to use the model object directly in any kind of de/serialization.
> Something like:
>
>  <settings
>      lazyLoadingEnabled="false"
>      enhancementEnabled="false"
>      [ whatever else your config needs ]
>  />
>
>  If that doesn't fix the problem, please post the full exception so we have
> more details.
>


Hi

Thanks for your reply.

It didnĀ“t worked, this is the exception:

------------
- Could not convert
org.apache.axis.encoding.ser.ArrayDeserializer$ArrayListExtension to
bean field 'notificationDescription', type [Ljava.lang.Object;
- Exception:
java.lang.ArrayStoreException
	at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
	at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
	at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at notifications.proteo.bs.com.NotificationsPortSoapBindingStub.getUserNotificationsList(NotificationsPortSoapBindingStub.java:1029)
	at com.bs.proteo.notifications.client.NotificationsProxy.getUserNotificationsList(NotificationsProxy.java:205)
	at com.bs.proteo.notifications.client.NotificationsProxy.main(NotificationsProxy.java:599)
; nested exception is:
	java.lang.ArrayStoreException
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.ArrayStoreException
 faultActor:
 faultNode:
 faultDetail:
	{http://xml.apache.org/axis/}stackTrace:java.lang.ArrayStoreException
	at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
	at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
	at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at notifications.proteo.bs.com.NotificationsPortSoapBindingStub.getUserNotificationsList(NotificationsPortSoapBindingStub.java:1029)
	at com.bs.proteo.notifications.client.NotificationsProxy.getUserNotificationsList(NotificationsProxy.java:205)
	at com.bs.proteo.notifications.client.NotificationsProxy.main(NotificationsProxy.java:599)

	{http://xml.apache.org/axis/}hostname:nt93233

java.lang.ArrayStoreException
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
	at org.apache.axis.client.Call.invoke(Call.java:2470)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at notifications.proteo.bs.com.NotificationsPortSoapBindingStub.getUserNotificationsList(NotificationsPortSoapBindingStub.java:1029)
	at com.bs.proteo.notifications.client.NotificationsProxy.getUserNotificationsList(NotificationsProxy.java:205)
	at com.bs.proteo.notifications.client.NotificationsProxy.main(NotificationsProxy.java:599)
Caused by: java.lang.ArrayStoreException
	at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
	at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
	at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
	at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
	at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:369)
	at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
	at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
	at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
	at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
	at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
	at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
	at org.apache.axis.client.Call.invoke(Call.java:2467)
	... 5 more


Thanks in advance
J

Mime
View raw message