Error when trying to save a file on Windows 10

Bug #2033014 reported by Alex Tas
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Pinta
Confirmed
Undecided
Unassigned

Bug Description

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key')
   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Pinta.Actions.SaveDocumentImplmentationAction.SaveFileAs(Document document) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 126
   at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentImplementationAction.cs:line 56
   at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Actions\FileActions.cs:line 119
   at Pinta.Core.Document.Save(Boolean saveAs) in D:\a\Pinta\Pinta\Pinta.Core\Classes\Document.cs:line 394
   at Pinta.Actions.SaveDocumentAsAction.Activated(Object sender, EventArgs e) in D:\a\Pinta\Pinta\Pinta\Actions\File\SaveDocumentAsAction.cs:line 48
   at InvokeStub_ActivatedHandler.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

Revision history for this message
Cameron White (cameronwhite91) wrote :

Are there any specific steps to reproduce this? e.g. which file filter is selected in the dialog, and what file name is being entered / where is it being saved.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Marking as confirmed since there seem to be a few reports of this issue

Changed in pinta:
milestone: none → 2.2
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.