- changed milestone to 0.2.0.5 - UI
-
assigned issue to
java.lang.NullPointerException (CcedkWrapper.java:842)
Issue #612
resolved
I was able to replicate a problem that Kiara started getting yesterday. Here's the stack trace from the console log:
13:35:28.280 [main] INFO - defined session path logs/session_1429896928277 [c.n.n.l.MainLaunch:59]
13:35:28.357 [main] WARN - You are using the "spread" != 0 , which is not reccomented by Nu developers for purposes different from testing. [c.n.n.o.ParseOptions:369]
13:35:28.362 [main] INFO - adding shutdown hook [SessionLOG:70]
13:35:28.363 [main] INFO - checking /root/.nubot/NuBot_session.txt false [c.n.n.l.MainLaunch:127]
13:35:28.364 [main] INFO - *** session *** starting at 20150424 13:35:28 [c.n.n.l.MainLaunch:84]
13:35:28.376 [main] INFO - Setting up NuBot version : 0.2.0 [c.n.n.b.NuBotBase:204]
13:35:28.390 [main] INFO - Session ID = 0.2.0|1429896928390|c78612 [c.n.n.b.NuBotBase:76]
13:35:28.392 [main] INFO - Set up SSL certificates [c.n.n.b.NuBotBase:117]
13:35:28.392 [main] INFO - installKeystore. trustall: false [c.n.n.u.Utils:382]
13:35:28.393 [main] INFO - Reading keystorefile from : /root/nubot-v0.2.0a/res/ssl/nubot_keystore.jks [c.n.n.u.Utils:397]
13:35:28.393 [main] INFO - setup Exchange object [c.n.n.b.NuBotBase:127]
13:35:28.401 [main] INFO - Swapped pair mode : false [c.n.n.b.NuBotBase:163]
13:35:28.401 [main] WARN - CCEDK uses global TX fee, currency pair not supported.now calling getTxFee() [c.n.n.t.w.CcedkWrapper:452]
13:35:28.406 [main] INFO - setting up tasks [c.n.n.t.TaskManager:81]
13:35:28.424 [main] INFO - Setting up RPC client on 0.0.0.0:0000 [c.n.n.R.NuSetup:34]
13:35:28.427 [main] INFO - Starting task : Check connection with Nud [c.n.n.R.NuSetup:45]
13:35:28.431 [main] INFO - Started BotTask checkNud [c.n.n.t.BotTask:56]
13:35:28.435 [main] INFO - BotTask [checkConnection] will start in 1s, and run it every 127s [c.n.n.t.BotTask:62]
13:35:28.436 [main] INFO - Waiting a for the connectionThreads to detect connection [c.n.n.b.NuBotBase:232]
Exception in thread "main" java.lang.NullPointerException
at com.nubits.nubot.trading.wrappers.CcedkWrapper$CcedkService.executeQuery(CcedkWrapper.java:842)
at com.nubits.nubot.trading.wrappers.CcedkWrapper.query(CcedkWrapper.java:549)
at com.nubits.nubot.trading.wrappers.CcedkWrapper.getQuery(CcedkWrapper.java:139)
at com.nubits.nubot.trading.wrappers.CcedkWrapper.getActiveOrdersImpl(CcedkWrapper.java:345)
at com.nubits.nubot.trading.wrappers.CcedkWrapper.getActiveOrders(CcedkWrapper.java:329)
at com.nubits.nubot.bot.NuBotBase.execute(NuBotBase.java:240)
at com.nubits.nubot.bot.SessionManager.launchBot(SessionManager.java:106)
at com.nubits.nubot.bot.SessionManager.sessionLaunch(SessionManager.java:51)
at com.nubits.nubot.launch.MainLaunch.main(MainLaunch.java:69)
Note: RPC client IP has been obsfucated.
I've confirmed that there were no changes between the previous run that worked and this run to the parameters passed in through options.json.
CCEDK "upgraded" their back-end recently, so I'm hoping that this is just a matter of a change in their API vs. something deeper.
Comments (6)
-
-
- changed milestone to 0.2.0 - Gradle, Unit-Test, Logging
-
reproduced locally
-
cannot get an https post connection to the exchange for some reason.
Should check whether they updated/change APIs . http://ccedk.mojohelpdesk.com/help/article/136557
-
For instance they changed the way nonce is computed, therefore the old method is no longer needed
-
- changed status to resolved
CCEDK no longer support Nu
- Log in to comment