java.lang.NullPointerException [c.n.n.w.LogController:77]
Issue #602
resolved
yesterday I added LOG.error in catches of LogController and two exceptions are popping up
10:14:35.021 [qtp979231439-21 - //localhost:4567/orders] ERROR - java.lang.NullPointerException [c.n.n.w.LogController:77]
and
10:14:37.023 [qtp979231439-22 - //localhost:4567/balances] ERROR - java.lang.NullPointerException [c.n.n.w.LogController:105]
They show up just a few times, probably once.
Comments (6)
-
-
-
assigned issue to
-
assigned issue to
-
reporter Did you change anything to this regard? I am not seeing this exceptions in latest
-
reporter - changed milestone to 0.3.0 - UI
-
fixed with check for null and the wrong boolean (! operator was missing) https://bitbucket.org/JordanLeePeershares/nubottrading/src/375062b7c9d13cd57b0137159083104c3f0d7f5e/src/main/java/com/nubits/nubot/webui/LogController.java?at=develop#cl-69
-
- changed status to resolved
- Log in to comment
yes - that's a race condition when we startup. ordermanager is not yet defined so if add that check it should go away (ordermanager != null)