InvalidOperationException in EndInit (3.0.1)

Topics: User Forum
Feb 16, 2015 at 12:20 PM
Edited Feb 16, 2015 at 1:36 PM
I've given version 3.0.1 a try (was using 2.2) and got a an InvalidOperationException.
It's at the _helpers loop, Scintilla.cs:line 326, Collection was modified; enumeration operation may not execute.

The form has two editors and it's on the second one's EndInit that the Exception is thrown.
One editor has "python" as syntax and the other "mssql".

The edited stack trace is:
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at ScintillaNET.Scintilla.EndInit() in …\Trunk\ScintillaNET\Scintilla.cs:line 326
   at ECC.Data.FormExtensionAddins.InitializeComponent() in …\FormExtensionAddins.designer.cs:line 719
   at ECC.Data.FormExtensionAddins..ctor() in …\FormExtensionAddins.cs:line 121
Edit: Unsetting Language property from both ConfigurationManager controls in the designer avoids the problem.