Crash when attempting to open Transient Results Viewer - "The given key was not present in the dictionary"

Product(s): HAMMER
Version(s): V8i, CONNECT Edition up to 10.00.00.55
Area: Calculations

Problem

When attempting to open the Transient Results Viewer in HAMMER, the program crashes and the following details are shown when clicking the button to view details:

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Haestad.HAMMER.TransientResultsViewer.Forms.TransientResultsViewerParentForm.get_HMRResults()
at Haestad.HAMMER.TransientResultsViewer.Forms.TransientResultsViewerParentForm.InitializeVisually()
at Haestad.Framework.Windows.Forms.Forms.HaestadForm.HaestadForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
...

Solution

This is a known issue with HAMMER versions below CONNECT Edition Update 1. It is typically related to either the presence of outdated output (results) files from an older version, or from attempting to open the transient results viewer after cancelling a transient simulation.

To resolve this issue, re-compute the transient simulation, then try again. This issue has also been addressed in the CONNECT Edition Update 1 release, starting with version 10.01.00.72. This link has the steps on how to upgrade.

Recommended
Related