You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Takanori Suzuki <ta...@gmail.com> on 2006/08/16 17:32:58 UTC

[Axis2] java.lang.NumberFormatException: badDate00

Hi

When I'm sending java.util.Calendar by RPCClient, I'm getting exception:

java.lang.NumberFormatException: badDate00
	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(SimpleTypeMapper.java:227)
	at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:97)
	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:216)
	at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:445)
	at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:407)
	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:364)

I think that there is  a problem in org.apache.axis2.databinding.utils.BeanUtil.

Calendar object is deserialized: 
 java.util.GregorianCalendar[time=1155740947187,areFieldsSet=true, ・・・]

When Calendar(SimpleType) is deserialized, <object>.toString() is called.
I think that it must be SimpleTypeMapper.isSimpleType(<object>).

I hope that problem will be corrected.

Thanks.
Takanori


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] java.lang.NumberFormatException: badDate00

Posted by Davanum Srinivas <da...@gmail.com>.
Please open a jira issue with your sample code.

-- dims

On 8/16/06, Takanori Suzuki <ta...@gmail.com> wrote:
> Hi
>
> When I'm sending java.util.Calendar by RPCClient, I'm getting exception:
>
> java.lang.NumberFormatException: badDate00
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.makeCalendar(SimpleTypeMapper.java:227)
>         at org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:97)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:216)
>         at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:445)
>         at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:407)
>         at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:364)
>
> I think that there is  a problem in org.apache.axis2.databinding.utils.BeanUtil.
>
> Calendar object is deserialized:
> java.util.GregorianCalendar[time=1155740947187,areFieldsSet=true, ・・・]
>
> When Calendar(SimpleType) is deserialized, <object>.toString() is called.
> I think that it must be SimpleTypeMapper.isSimpleType(<object>).
>
> I hope that problem will be corrected.
>
> Thanks.
> Takanori
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org