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
1.6.0 MtGox v1 placeMarketOrder Null Pointer Exception #107
Comments
Can you try the latest development snapshot? I just ran com.xeiam.xchange.examples.mtgox.v1.service.trade.polling.MarketOrderDemo, and it works for me. |
Will do. Thank you. Will update with results. |
Recompiled using XChange 1.6.1 devel. Same traceback. MtGoxPollingTradeService.java:83 placeMarketOrder - NPE. I wonder if Gox likes to lock API trade activity on accounts without warning. If this is common I might regen my API key. |
Got the same problem here, on OS X 10.8.3 x86_64, running xchange 1.6.0.
|
What happens if you guys run this class in XChange: com.xeiam.xchange.examples.mtgox.v1.service.trade.polling.MarketOrderDemo? (You'll need to use your own MtGox api keys) |
Running MarketOrderDemo (on xchange-1.6.0 git tag) seems to work normally for me. (The order doesn't execute but is automatically cancelled immediately since I have no funds in my account.) If I disable trading for the key through the web interface, I get a reasonable error message. |
Aha, trying to execute a bid with 0.002 BTC value results in NPE. The reason seems to be that mtGoxSuccess.getReturn() is null -- "return" is not present in the returned json. 11:25:35.976 [default] [main] DEBUG si.mazi.rescu.HttpTemplate - Request http status = 200 |
Fixed this: 39e1608 |
nice work! |
Thanks! |
Calling app:
https://github.com/aido/AidoATP
Platform:
Win 7 64 bit
JRE - 1.7.0_u13
MtGox acct API enabled, keys, and perms confirmed.
Ask order: 0.002
The text was updated successfully, but these errors were encountered: