On a new install, starting the program on a Windows 7 SP1, I get an "The invocation of the constructor on type 'MarkdownPad2.UserControls.MarkdownEditor' that matches the specified binding constraints threw an exception." message. I can't submit a bug report, I get an "An error occurred while sending the bug reports. Please try again".
One more thing, when the crash occurs, closing the bug report screen does not kill the process. The splash screen is still displayed and the only way to close it is to kill the process using Task Manager.
I've tried several times yesterday and today on different networks.
Any ideas? Thanks.
Here's the MarkdownPad Bug Report
Timestamp: 02/04/2018 21:08:43
Software Version: 2.5.0.27920
Bug Reporter Version: 1.1.0.35216
CLR Version: 4.0.30319.42000
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU Architecture: 64-bit
Number of CPU Cores: 8
Display Resolution (Virtual): 1920 x 1080
Error Description: This is a fresh install on a Windows 7 Ultimate. I started MarkdownPad2 after install and it threw the error. I killed the process because it was still running. I started it from the Desktop icon.
Technical Details: ------------------------------------------------
Exception Information:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'MarkdownPad2.UserControls.MarkdownEditor' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Media.Fonts' threw an exception. ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1 ---> System.IO.FileFormatException: No FontFamily element found in FontFamilyCollection that matches current OS or greater: Windows7SP1
at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
at MS.Internal.FontFace.CompositeFontParser.ParseFontFamilyCollectionElement()
at MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)
--- End of inner exception stack trace ---
at MS.Internal.FontFace.CompositeFontParser.Fail(String message, Exception innerException)
at MS.Internal.FontFace.CompositeFontParser..ctor(Stream fileStream)
at MS.Internal.FontCache.FamilyCollection.SystemCompositeFonts.GetCompositeFontFamilyAtIndex(Int32 index)
at MS.Internal.FontCache.FamilyCollection.GetFontFamilies(Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts.CreateFamilyCollection(Uri fontLocation, Uri fontFamilyBaseUri, String fontFamilyLocationReference)
at System.Windows.Media.Fonts..cctor()
--- End of inner exception stack trace ---
at System.Windows.Media.Fonts.get_SystemFontFamilies()
at MarkdownPad2.UserControls.MarkdownEditor.LoadEditorSettings()
at MarkdownPad2.UserControls.MarkdownEditor..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)