vatis-project / vatis-archive

Virtual Automated ATIS Generator for VATSIM
https://docs.vatis.clowd.io
GNU General Public License v3.0
38 stars 21 forks source link

Deleting a composite with no data causes JIT error message #17

Closed drchuck59 closed 2 years ago

drchuck59 commented 2 years ago

Actions to reproduce: Create a new composite with no data (Manage composite... New). Delete the new composite with no intervening action (Manage composite... Delete) and confirm delete.

Error message: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentOutOfRangeException: Index 18 is out of range. (Parameter 'index') at System.Windows.Forms.Control.ControlCollection.get_Item(Int32 index) at System.Windows.Forms.TabControl.TabPageCollection.RemoveByKey(String key) at Vatsim.Vatis.Client.MainForm.OnAtisCompositeDeleted(Object sender, AtisCompositeDeletedEventArgs e) in Vatsim.Vatis.Client\MainForm.cs:line 239 at Appccelerate.EventBroker.Handlers.EventBrokerHandlerBase.HandleSubscriberMethodException(TargetInvocationException targetInvocationException, IEventTopicInfo eventTopic) at Appccelerate.EventBroker.Handlers.OnUserInterfaceAsync.<>c__DisplayClass4_0.b__0(Object data)

** Loaded Assemblies ** System.Private.CoreLib Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

vATIS Assembly Version: 4.0.0.1 Win32 Version: n/a CodeBase:

System.Runtime Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Windows.Forms.Primitives Assembly Version: 6.0.2.0 Win32 Version: n/a CodeBase:

SimpleInjector Assembly Version: 5.0.0.0 Win32 Version: n/a CodeBase:

netstandard Assembly Version: 2.1.0.0 Win32 Version: n/a CodeBase:

System.ComponentModel Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Appccelerate.EventBroker Assembly Version: 4.0.0.0 Win32 Version: n/a CodeBase:

System.Threading Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Windows.Forms Assembly Version: 6.0.2.0 Win32 Version: n/a CodeBase:

System.Threading.Thread Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Drawing.Common Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.TraceSource Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Collections Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.ComponentModel.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.InteropServices Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Drawing.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.Process Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Collections.NonGeneric Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Microsoft.Win32.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Memory Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Linq.Expressions Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Linq Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Collections.Specialized Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Configuration.ConfigurationManager Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.ObjectModel Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Vatsim.Network Assembly Version: 1.0.0.0 Win32 Version: n/a CodeBase:

RestSharp Assembly Version: 106.12.0.0 Win32 Version: n/a CodeBase:

System.Net.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Newtonsoft.Json Assembly Version: 13.0.0.0 Win32 Version: n/a CodeBase:

System.ComponentModel.TypeConverter Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.StackTrace Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Reflection.Metadata Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Collections.Immutable Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.IO.Compression Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Text.Encoding.Extensions Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Reflection.Emit.ILGeneration Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Reflection.Emit.Lightweight Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Reflection.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: n/a CodeBase: file:///C:/Users/drchu/AppData/Local/vATIS-4.0/System.Private.CoreLib.dll

System.Runtime.Serialization.Formatters Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Collections.Concurrent Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Private.Uri Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.Numerics Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.Serialization.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Data.Common Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Xml.ReaderWriter Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Private.Xml Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Drawing Assembly Version: 6.0.2.0 Win32 Version: n/a CodeBase:

System.Net.WebClient Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.ComponentModel.EventBasedAsync Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

GeoVR.Connection Assembly Version: 2.2.0.0 Win32 Version: n/a CodeBase:

System.Net.ServicePoint Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

NLog Assembly Version: 4.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.InteropServices.RuntimeInformation Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.Security Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Accessibility Assembly Version: 4.0.0.0 Win32 Version: n/a CodeBase:

System.Numerics.Vectors Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Resources.Extensions Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.Loader Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Microsoft.Win32.SystemEvents Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Cryptography.Primitives Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Runtime.CompilerServices.Unsafe Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Text.RegularExpressions Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.Requests Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.WebHeaderCollection Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.Http Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.Tracing Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Cryptography.X509Certificates Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.DiagnosticSource Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Threading.ThreadPool Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.Sockets Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Net.NameResolution Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Principal.Windows Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Claims Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Threading.Overlapped Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Cryptography.Encoding Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Security.Cryptography.Algorithms Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Management Assembly Version: 4.0.0.0 Win32 Version: n/a CodeBase:

Microsoft.Win32.Registry Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Diagnostics.FileVersionInfo Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Xml.XmlSerializer Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

System.Reflection.Emit Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: n/a CodeBase: file:///C:/Users/drchu/AppData/Local/vATIS-4.0/System.Private.Xml.dll

System.Text.Encoding.CodePages Assembly Version: 6.0.0.0 Win32 Version: n/a CodeBase:

** JIT Debugging **

catcarbon commented 2 years ago

How many composites are already in there, and what ICAO identifier did you use for the new composite?

justinshannon commented 2 years ago

This should be fixed in the next version. If it persists, please open a new issue.