[GH-ISSUE #420] Setting lost after save as video file extention change #343

Closed
opened 2026-02-26 09:31:05 +03:00 by kerem · 2 comments
Owner

Originally created by @jburdy on GitHub (Jan 4, 2019).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/420

If I change the extention of the video (avi to mp2 for example) I lost all my parameters after restart the app ! If I do other change, all is ok.

Version 2.15.1

This is the log :

► Title -
Saving settings
▬ Message -
Object reference not set to an instance of an object.
○ Type -
System.NullReferenceException
♦ [Version] Date/Hour -
[2.15.1] 01/04/2019 10:10:42
▲ Source -
mscorlib
▼ TargetSite -
System.Type GetType()
♠ StackTrace -
at System.Object.GetType()
at System.Windows.Markup.Primitives.ElementMarkupObject.get_ObjectType()
at System.Windows.Markup.Primitives.MarkupWriter.RecordNamespaces(Scope scope, MarkupObject item, IValueSerializerContext context, Boolean lastWasString)
at System.Windows.Markup.Primitives.MarkupWriter.RecordNamespaces(Scope scope, MarkupObject item, IValueSerializerContext context, Boolean lastWasString)
at System.Windows.Markup.Primitives.MarkupWriter.WriteItem(MarkupObject item)
at System.Windows.Markup.Primitives.MarkupWriter.SaveAsXml(XmlWriter writer, MarkupObject item)
at System.Windows.Markup.XamlWriter.Save(Object obj, XmlWriter xmlWriter)
at ScreenToGif.Util.UserSettings.Save()

Originally created by @jburdy on GitHub (Jan 4, 2019). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/420 If I change the extention of the video (avi to mp2 for example) I lost all my parameters after restart the app ! If I do other change, all is ok. Version 2.15.1 This is the log : ----- ► Title - Saving settings ▬ Message - Object reference not set to an instance of an object. ○ Type - System.NullReferenceException ♦ [Version] Date/Hour - [2.15.1] 01/04/2019 10:10:42 ▲ Source - mscorlib ▼ TargetSite - System.Type GetType() ♠ StackTrace - at System.Object.GetType() at System.Windows.Markup.Primitives.ElementMarkupObject.get_ObjectType() at System.Windows.Markup.Primitives.MarkupWriter.RecordNamespaces(Scope scope, MarkupObject item, IValueSerializerContext context, Boolean lastWasString) at System.Windows.Markup.Primitives.MarkupWriter.RecordNamespaces(Scope scope, MarkupObject item, IValueSerializerContext context, Boolean lastWasString) at System.Windows.Markup.Primitives.MarkupWriter.WriteItem(MarkupObject item) at System.Windows.Markup.Primitives.MarkupWriter.SaveAsXml(XmlWriter writer, MarkupObject item) at System.Windows.Markup.XamlWriter.Save(Object obj, XmlWriter xmlWriter) at ScreenToGif.Util.UserSettings.Save()
kerem 2026-02-26 09:31:05 +03:00
Author
Owner

@NickeManarin commented on GitHub (Mar 10, 2019):

How exactly did you change the video extension from avi to mp2?

<!-- gh-comment-id:471333058 --> @NickeManarin commented on GitHub (Mar 10, 2019): How exactly did you change the video extension from avi to mp2?
Author
Owner

@NickeManarin commented on GitHub (Aug 8, 2020):

I believe this bug was fixed this year.
I'm closing this issue, but if you still get the same error, I'll reopen it.

<!-- gh-comment-id:670978265 --> @NickeManarin commented on GitHub (Aug 8, 2020): I believe this bug was fixed this year. I'm closing this issue, but if you still get the same error, I'll reopen it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#343
No description provided.