[bisq-network/bisq] V1.1.6 dao tab click causes ArrayIndexOutOfBoundsException (#3220)

Stan notifications at github.com
Fri Sep 6 20:24:40 UTC 2019


DAO tab click in full dao mode v1.1.6 client causes MathUtils ArrayIndexOutOfBoundsException

[How to Reproduce]
Run  desktop in full dao mode.
Click the DAO tab.
An error window will appear to open log / report issue.
Stack Trace:
```
Sep-06 16:39:01.826 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Stack trace:
java.lang.ArrayIndexOutOfBoundsException: -1
	at bisq.common.util.MathUtils.getMedian(MathUtils.java:102)
	at bisq.desktop.main.dao.economy.dashboard.BsqDashboardView.getAverageAndMedian(BsqDashboardView.java:369)
	at bisq.desktop.main.dao.economy.dashboard.BsqDashboardView.updateAverageAndMedianPrice(BsqDashboardView.java:338)
	at bisq.desktop.main.dao.economy.dashboard.BsqDashboardView.activate(BsqDashboardView.java:174)
```
[Expected Results]
DAO window should open without error message, and no exception thrown.  In general, exception messages shown to user should be human readable, instead of (-1).

[Actual Results]
See screenshot and attached log.
![DAO-TAB-2019-09-06](https://user-images.githubusercontent.com/36207203/64457823-0eb19100-d0ca-11e9-9264-237061bdf6f7.png)
[dao-tab-error.log](https://github.com/bisq-network/bisq/files/3585580/dao-tab-error.log)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190906/5824267b/attachment.html>


More information about the bisq-github mailing list