Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Steps to Reproduce :
1) Activate "Text Editor" -> "Behavior" -> "XML" -> "Automatically insert punctuation" option
2) Start typing a XML attribute in a XAML file, then enter for auto-completion, then it's impossible to use the keyboard anymore (when typing, nothing happens), and if you press an arrow key, Xamarin Studio crashes after having displayed "A fatal error has occurred, details of this error have been automatically sent to Xamarin for analysis. Xamarin Studio will now close.".
Xamarin Studio 6.0 (Build 4520) - OSX 10.11.3
This has been fixed. With 6.0 build 4520 you see the following error in the IDE log when you try to type into an attribute value.
An unhandled exception has occured. Terminating Xamarin Studio? False
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Session not yet started.
at MonoDevelop.Ide.Editor.EditSession.CheckIsValid() in C:\Users\builder\data\lanes\88\a354b2cb\source\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Editor\EditSession.cs:line 74
at MonoDevelop.Ide.Editor.SkipCharSession.BeforeType(Char ch, Boolean& handledCommand) in C:\Users\builder\data\lanes\88\a354b2cb\source\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Editor\EditSession.cs:line 153
at MonoDevelop.SourceEditor.ExtensibleTextEditor.OnIMProcessedKeyPressEvent(Key key, UInt32 ch, ModifierType state) in C:\Users\builder\data\lanes\88\a354b2cb\source\monodevelop\main\src\addins\MonoDevelop.SourceEditor2\MonoDevelop.SourceEditor\ExtensibleTextEditor.cs:line 354
at Mono.TextEditor.TextArea.IMCommit(Object sender, CommitArgs ca) in C:\Users\builder\data\lanes\88\a354b2cb\source\monodevelop\main\src\core\Mono.Texteditor\Mono.TextEditor\Gui\TextArea.cs:line 617
I tested a slightly later build 4571 and this problem does not occur.
*** This bug has been marked as a duplicate of bug 38986 ***