{"action":"created","issue":{"url":"https://api.github.com/repos/timmolter/XChange/issues/1167","labels_url":"https://api.github.com/repos/timmolter/XChange/issues/1167/labels{/name}","comments_url":"https://api.github.com/repos/timmolter/XChange/issues/1167/comments","events_url":"https://api.github.com/repos/timmolter/XChange/issues/1167/events","html_url":"https://github.com/timmolter/XChange/issues/1167","id":126897217,"number":1167,"title":"PoloniexTradeService.getTradeHistory deserialize problem on empty trade history","user":{"login":"abelgo","id":4158386,"avatar_url":"https://avatars.githubusercontent.com/u/4158386?v=3","gravatar_id":"","url":"https://api.github.com/users/abelgo","html_url":"https://github.com/abelgo","followers_url":"https://api.github.com/users/abelgo/followers","following_url":"https://api.github.com/users/abelgo/following{/other_user}","gists_url":"https://api.github.com/users/abelgo/gists{/gist_id}","starred_url":"https://api.github.com/users/abelgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelgo/subscriptions","organizations_url":"https://api.github.com/users/abelgo/orgs","repos_url":"https://api.github.com/users/abelgo/repos","events_url":"https://api.github.com/users/abelgo/events{/privacy}","received_events_url":"https://api.github.com/users/abelgo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/timmolter/XChange/labels/Question","name":"Question","color":"e102d8"}],"state":"open","locked":false,"assignee":{"login":"mmazi","id":294075,"avatar_url":"https://avatars.githubusercontent.com/u/294075?v=3","gravatar_id":"","url":"https://api.github.com/users/mmazi","html_url":"https://github.com/mmazi","followers_url":"https://api.github.com/users/mmazi/followers","following_url":"https://api.github.com/users/mmazi/following{/other_user}","gists_url":"https://api.github.com/users/mmazi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmazi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmazi/subscriptions","organizations_url":"https://api.github.com/users/mmazi/orgs","repos_url":"https://api.github.com/users/mmazi/repos","events_url":"https://api.github.com/users/mmazi/events{/privacy}","received_events_url":"https://api.github.com/users/mmazi/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-01-15T15:40:53Z","updated_at":"2016-01-18T15:09:28Z","closed_at":null,"body":"From my reading of the API, I am expecting the get a null return from getTradeHistory however I am hitting this Exception I'm not sure exactly how best to deal with.\r\n\r\nSEVERE: POLX-T Executions Pole 0 Exception in account pole Can not deserialize instance of java.util.HashMap out of START_ARRAY token\r\n at [Source: []; line: 1, column: 1]\r\nsi.mazi.rescu.HttpStatusIOException: Can not deserialize instance of java.util.HashMap out of START_ARRAY token\r\n at [Source: []; line: 1, column: 1]\r\n\tat si.mazi.rescu.ResponseReader.read(ResponseReader.java:106)\r\n\tat si.mazi.rescu.RestInvocationHandler.mapInvocationResult(RestInvocationHandler.java:137)\r\n\tat si.mazi.rescu.RestInvocationHandler.receiveAndMap(RestInvocationHandler.java:125)\r\n\tat si.mazi.rescu.RestInvocationHandler.invoke(RestInvocationHandler.java:104)\r\n\tat com.sun.proxy.$Proxy13.returnTradeHistory(Unknown Source)\r\n\tat com.xeiam.xchange.poloniex.service.polling.PoloniexTradeServiceRaw.returnTradeHistory(PoloniexTradeServiceRaw.java:48)\r\n\tat com.xeiam.xchange.poloniex.service.polling.PoloniexTradeService.getTradeHistory(PoloniexTradeService.java:128)\r\n\tat com.xeiam.xchange.poloniex.service.polling.PoloniexTradeService.getTradeHistory(PoloniexTradeService.java:121)"},"comment":{"url":"https://api.github.com/repos/timmolter/XChange/issues/comments/172554957","html_url":"https://github.com/timmolter/XChange/issues/1167#issuecomment-172554957","issue_url":"https://api.github.com/repos/timmolter/XChange/issues/1167","id":172554957,"user":{"login":"mmazi","id":294075,"avatar_url":"https://avatars.githubusercontent.com/u/294075?v=3","gravatar_id":"","url":"https://api.github.com/users/mmazi","html_url":"https://github.com/mmazi","followers_url":"https://api.github.com/users/mmazi/followers","following_url":"https://api.github.com/users/mmazi/following{/other_user}","gists_url":"https://api.github.com/users/mmazi/gists{/gist_id}","starred_url":"https://api.github.com/users/mmazi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmazi/subscriptions","organizations_url":"https://api.github.com/users/mmazi/orgs","repos_url":"https://api.github.com/users/mmazi/repos","events_url":"https://api.github.com/users/mmazi/events{/privacy}","received_events_url":"https://api.github.com/users/mmazi/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T15:09:28Z","updated_at":"2016-01-18T15:09:28Z","body":"Logging: um, you should use either logback or log4j, not both... But anyway, happy to hear that logging works now."}}