[dokujclient] Caught exception when executing action wiki.getAllPages: de.timroes.axmlrpc.XMLRPCException: Error getting result from server.

  • From: "English,N,Nathan,TAG7 R" <nathan.english@xxxxxx>
  • To: "dokujclient@xxxxxxxxxxxxx" <dokujclient@xxxxxxxxxxxxx>
  • Date: Wed, 7 Sep 2016 08:28:17 +0000

Hi There,
I am currently trying to implement the client into a Java project, however when 
I use the getAllPages command I eventually get Caused by: 
java.text.ParseException: Unparseable date: "2016-07-19T14:34:28+0000" and was 
wondering if the was anything that I could do to get around this?

Below is the full stack trace print out.

Sep 07, 2016 8:58:14 AM dw.xmlrpc.CoreClient genericQuery
INFO: Caught exception when executing action wiki.getAllPages: 
de.timroes.axmlrpc.XMLRPCException: Error getting result from server.
Exception in thread "main" dw.xmlrpc.exception.DokuUnknownException: 
de.timroes.axmlrpc.XMLRPCException: Error getting result from server.
                at 
dw.xmlrpc.ExceptionConverter.Convert(ExceptionConverter.java:105)
                at dw.xmlrpc.CoreClient.genericQuery(CoreClient.java:49)
                at dw.xmlrpc.CoreClient.genericQuery(CoreClient.java:34)
                at dw.xmlrpc.DokuJClient.genericQuery(DokuJClient.java:680)
                at dw.xmlrpc.DokuJClient.getAllPages(DokuJClient.java:549)
                at com.company.Main.main(Main.java:22)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at 
com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: de.timroes.axmlrpc.XMLRPCException: Error getting result from server.
                at 
de.timroes.axmlrpc.ResponseParser.parse(ResponseParser.java:73)
                at 
de.timroes.axmlrpc.XMLRPCClient$Caller.call(XMLRPCClient.java:738)
                at de.timroes.axmlrpc.XMLRPCClient.call(XMLRPCClient.java:455)
                at dw.xmlrpc.CoreClient.genericQuery(CoreClient.java:43)
                ... 9 more
Caused by: de.timroes.axmlrpc.XMLRPCException: Unable to parse given date.
                at 
de.timroes.axmlrpc.serializer.DateTimeSerializer.deserialize(DateTimeSerializer.java:23)
                at 
de.timroes.axmlrpc.serializer.SerializerHandler.deserialize(SerializerHandler.java:157)
                at 
de.timroes.axmlrpc.serializer.StructSerializer.deserialize(StructSerializer.java:65)
                at 
de.timroes.axmlrpc.serializer.SerializerHandler.deserialize(SerializerHandler.java:157)
                at 
de.timroes.axmlrpc.serializer.ArraySerializer.deserialize(ArraySerializer.java:48)
                at 
de.timroes.axmlrpc.serializer.SerializerHandler.deserialize(SerializerHandler.java:157)
                at 
de.timroes.axmlrpc.ResponseParser.getReturnValueFromElement(ResponseParser.java:92)
                at 
de.timroes.axmlrpc.ResponseParser.parse(ResponseParser.java:55)
                ... 12 more
Caused by: java.text.ParseException: Unparseable date: 
"2016-07-19T14:34:28+0000"
                at java.text.DateFormat.parse(DateFormat.java:366)
                at 
de.timroes.axmlrpc.serializer.DateTimeSerializer.deserialize(DateTimeSerializer.java:21)
                ... 19 more

Kind Regards
Nathan English



--
To unsubscribe go to https://www.freelists.org/list/dokujclient
Archives: http://www.freelists.org/archive/dokujclient

Other related posts: