<p>Fix another ClassCastError.</p>
<p>There is a <code>Show Summary</code> window which also has the same issue that PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="841403422" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/5358" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/5358/hovercard" href="https://github.com/bisq-network/bisq/pull/5358">#5358</a> fixed in Portfolio History.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/112693714-1755ed80-8e4f-11eb-8a9c-f9994dba872e.png"><img src="https://user-images.githubusercontent.com/47253594/112693714-1755ed80-8e4f-11eb-8a9c-f9994dba872e.png" alt="image" style="max-width:100%;"></a></p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/47253594/112693196-34d68780-8e4e-11eb-8bcd-b6a9e93e405b.png"><img src="https://user-images.githubusercontent.com/47253594/112693196-34d68780-8e4e-11eb-8bcd-b6a9e93e405b.png" alt="image" style="max-width:100%;"></a></p>
<pre><code>Mar-26 15:49:37.872 [JavaFX Application Thread] ERROR bisq.common.setup.CommonSetup: Uncaught Exception from thread JavaFX Application Thread 
Mar-26 15:49:37.872 [JavaFX Application Thread] ERROR bisq.common.setup.CommonSetup: throwableMessage= bisq.core.offer.OpenOffer cannot be cast to bisq.core.trade.Trade 
Mar-26 15:49:37.872 [JavaFX Application Thread] ERROR bisq.common.setup.CommonSetup: throwableClass= class java.lang.ClassCastException 
Mar-26 15:49:37.872 [JavaFX Application Thread] ERROR bisq.common.setup.CommonSetup: Stack trace:
java.lang.ClassCastException: bisq.core.offer.OpenOffer cannot be cast to bisq.core.trade.Trade
    at bisq.desktop.main.portfolio.closedtrades.ClosedTradesDataModel.lambda$getTotalTxFee$7(ClosedTradesDataModel.java:166)
</code></pre>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/5363'>https://github.com/bisq-network/bisq/pull/5363</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix ClassCastError in Portfolio History Summary Popup</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5363/files#diff-a4540ba37a04a95aaa5ba150911d6b93d0a55fa6e718773f091615f785563b7e">desktop/src/main/java/bisq/desktop/main/portfolio/closedtrades/ClosedTradesDataModel.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5363/files#diff-cb7004ed3832d0646985dfaae6355b3bdf4ba5c1bc799fd0f1c753edc3b5cacb">desktop/src/main/java/bisq/desktop/main/portfolio/closedtrades/ClosedTradesViewModel.java</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5363.patch'>https://github.com/bisq-network/bisq/pull/5363.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5363.diff'>https://github.com/bisq-network/bisq/pull/5363.diff</a></li>
</ul>

<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/pull/5363">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNUYB3PF2OQZH27LIU3TFT3CXANCNFSM4Z4DRD6A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNT2BXG6T3FQ5JSEVRTTFT3CXA5CNFSM4Z4DRD6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MRURARA.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/pull/5363",
"url": "https://github.com/bisq-network/bisq/pull/5363",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>