Hi  Sathija ;

Pls help me to re-create the issue.

Thanks
Deepal

>Hi,
>
>I thought Date issues with RPCMessageReceiver might've been fixed, but not 
>this one maybe.
>When my service returns an object that contains a java.util.Date field whose 
>value is null,
>the deserializer throws as exception about bad date format.
>I am using Axis2 1.1.1. Works fine when the date value is non-null though.
>
>Here is the exception stack trace:
>
>        java.lang.NumberFormatException: badDateTime00
>        at 
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(SimpleTypeMapper.java:214)
>        at 
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:95)
>        at 
> org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:291)
>        at 
> org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:557)
>        at 
> org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:507)
>        at 
> org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:446)
>        at 
> org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:97)
>        at 
> com.emprisa.ena.ws.client.DeviceServiceStub.getConfiguration(DeviceServiceStub.java:50)
>        at 
> com.emprisa.ena.ws.DeviceServiceTest.testGetConfiguration(DeviceServiceTest.java:56)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
>Thanks,
>Sathija.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to