<p>DAO tab click in full dao mode v1.1.6 client causes MathUtils ArrayIndexOutOfBoundsException</p>
<p>[How to Reproduce]<br>
Run  desktop in full dao mode.<br>
Click the DAO tab.<br>
An error window will appear to open log / report issue.<br>
Stack Trace:</p>
<pre><code>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)
</code></pre>
<p>[Expected Results]<br>
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).</p>
<p>[Actual Results]<br>
See screenshot and attached log.<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/36207203/64457823-0eb19100-d0ca-11e9-9264-237061bdf6f7.png"><img src="https://user-images.githubusercontent.com/36207203/64457823-0eb19100-d0ca-11e9-9264-237061bdf6f7.png" alt="DAO-TAB-2019-09-06" style="max-width:100%;"></a><br>
<a href="https://github.com/bisq-network/bisq/files/3585580/dao-tab-error.log">dao-tab-error.log</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3220?email_source=notifications&email_token=AJFFTNR3WMKBMLUELHCUBJ3QIK4ARA5CNFSM4IUMYVLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ4RXJA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQUINUZXYAS7B6AVZLQIK4ARANCNFSM4IUMYVLA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNVSK3FVGM5NVUNEZULQIK4ARA5CNFSM4IUMYVLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ4RXJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3220?email_source=notifications\u0026email_token=AJFFTNR3WMKBMLUELHCUBJ3QIK4ARA5CNFSM4IUMYVLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ4RXJA",
"url": "https://github.com/bisq-network/bisq/issues/3220?email_source=notifications\u0026email_token=AJFFTNR3WMKBMLUELHCUBJ3QIK4ARA5CNFSM4IUMYVLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ4RXJA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>