3.2.6 - Simulator can't launch direct from STH file

This section contains all the bug reports that have been solved in version 2 or version 3. / Cette section contient tous les rapports d'erreur qui ont été résolu dans la version 2 ou version 3.
Post Reply
Owen
The Addict / Le Drogué
Posts: 544
Joined: Tue Jan 01, 2013 12:43 pm
Contact:

3.2.6 - Simulator can't launch direct from STH file

Post by Owen »

This is a new bug specific to 3.2.6 as far as I'm aware. I have set .sth as a file association to the simulator. When attempting to open the STH file directly, it causes an error and will not launch the sim file.

Code: Select all

Exception Type
----------------------------------------------------------------------
----------------------------------------------------------------------
System.ArgumentOutOfRangeException

Message - Source
----------------------------------------------------------------------
----------------------------------------------------------------------
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index - mscorlib

Stack Trace
----------------------------------------------------------------------
----------------------------------------------------------------------
 at
System.ThrowHelper.ThrowArgumentOutOfRangeException(Exception Argument argumen, ExceptionResource resource)
 at System.SZArrayHelper.get_Item[T](Int32 index)
 at
System.Collections.ObjectModel.ReadOnlyCollection`1.get_Item(Int32 index)
 at SimonTHockeySimulator.frmMain.frmMain_Shown(Object sender, EventArgs e)

The only way to open files now is to open the simulator application first.
Elite Hockey Experience

We're not just any league. We're competitive. We're dedicated. We're ELITE!
Our website can be viewed in English, en Français & auf Deutsch!
www.elitehockeysim.com
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14755
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: 3.2.6 - Simulator can't launch direct from STH file

Post by SimonT »

Fix for 3.2.7.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Post Reply