Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UndeclaredThrowableException withdrawFunds(mtgox only) #192

Closed
ogelami opened this issue Oct 29, 2013 · 9 comments
Closed

UndeclaredThrowableException withdrawFunds(mtgox only) #192

ogelami opened this issue Oct 29, 2013 · 9 comments
Labels

Comments

@ogelami
Copy link

ogelami commented Oct 29, 2013

String com.xeiam.xchange.service.polling.PollingAccountService.withdrawFunds(BigDecimal amount, String address) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException

Gives UndeclaredThrowableException

Upon called like following:
mtGox.getPollingAccountService().withdrawFunds(new java.math.BigDecimal("0.00006"), "11dnbqgEWp3E133nj9mTgVfqUviF843nWf")

@timmolter
Copy link
Member

This is related to: #189

We're working on it.

@timmolter
Copy link
Member

This should be fixed now with this commit: 7590681

@ogelami
Copy link
Author

ogelami commented Nov 3, 2013

Now this gives a com.fasterxml.jackson.core.JsonParseException "Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens"

@timmolter
Copy link
Member

Are you using the latest snapshots?

@timmolter timmolter reopened this Nov 3, 2013
@ogelami
Copy link
Author

ogelami commented Nov 3, 2013

1.10.0-SNAPSHOT is what i should be using
Den 3 nov 2013 16:45 skrev "Tim Molter" notifications@github.com:

Reopened #192 #192.


Reply to this email directly or view it on GitHubhttps://github.com//issues/192
.

@timmolter
Copy link
Member

That's strange. It's almost as if the encoding is wrong or something. Can you please set the logging level of rescu in logback.xml to TRACE, and post what the retunred JSON is?

<logger name="si.mazi.rescu" level="TRACE" />

Thanks!

@timmolter
Copy link
Member

Actually, nevermind. I'm able to do that myself.

@timmolter
Copy link
Member

I bet MtGox disabled this API call. A 500 http error message is returned. I emailed theri support and will update here if I hear anything.

@timmolter
Copy link
Member

@ogelami ResCU 1.5.0 was released with the ability to handle gzipped responses. Now, the error I get is a nicely wrapped ExchangeException with an informative error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants