[ 
http://issues.apache.org/jira/browse/XMLRPC-83?page=comments#action_12412886 ] 

Alexander Sydorenko commented on XMLRPC-83:
-------------------------------------------

I'm using 3.0b1 version.
But I downloaded this file again. Nothing changed.
Maybe there are old files in this archive? Or our proxy cashed an old version. 
Does it change every night? It looks like .jar's didn't change sience 
27.03.2006. Maybe you should rebild it or rename the archive.

> Problems with Date
> ------------------
>
>          Key: XMLRPC-83
>          URL: http://issues.apache.org/jira/browse/XMLRPC-83
>      Project: XML-RPC
>         Type: Bug

>     Versions: 3.0a1
>  Environment: xmlrpc-*-3.0b1-SNAPSHOT
>     Reporter: Alexander Sydorenko
>     Priority: Critical

>
> I'm getting this error:
> org.apache.xmlrpc.common.XmlRpcExtensionException: Serializable objects 
> aren't supported, if isEnabledForExtensions() == false
>       at 
> org.apache.xmlrpc.common.TypeFactoryImpl.getSerializer(TypeFactoryImpl.java:155)
> when trying to return Calendar and this error:
> java.lang.ClassCastException: java.util.Date
>       at 
> org.apache.ws.commons.util.XsDateTimeFormat.format(XsDateTimeFormat.java:238)
>       at java.text.Format.format(Format.java:133)
>       at 
> org.apache.xmlrpc.serializer.DateSerializer.write(DateSerializer.java:31)
>       at 
> org.apache.xmlrpc.serializer.XmlRpcWriter.writeValue(XmlRpcWriter.java:144)
>       at org.apache.xmlrpc.serializer.XmlRpcWriter.write(XmlRpcWriter.java:99)
>       at 
> org.apache.xmlrpc.server.XmlRpcStreamServer.writeResponse(XmlRpcStreamServer.java:89)
>       at 
> org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:221)
>       at 
> org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:91)
>       at 
> org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:99)
> for java.util.Date.
> org.apache.ws.commons.util.XsDateTimeFormat.format() works only with 
> Calendar...
> and org.apache.xmlrpc.common.TypeFactoryImpl.getSerializer treats Calendar as 
> Serializable...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to