reproduce:
open pinta
File=>Save As
set name: some-new-image.jpg
the path will default to something like /run/user/1000/doc/95720e22
hit Save
exception window appears: "Unhandled exception":
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFileAs(Document document)
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(Object sender, DocumentCancelEventArgs e)
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs)
at Pinta.Core.Document.Save(Boolean saveAs)
at Pinta.Actions.SaveDocumentAsAction.Activated(Object sender, EventArgs e)
at Pinta.Core.Command.<.ctor>b__33_0(Object o, ActivatedArgs args)
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)
probably not related, but just in case: "ll /run/user/1000/doc/ | grep 95720e22" shows "drwx------ 2 dylan dylan ..."
Version: 2.1.1
OS: Ubuntu 20.04.6 LTS
reproduce: 1000/doc/ 95720e22 Reflection. TargetInvocatio nException: Exception has been thrown by the target of an invocation. NullReferenceEx ception: Object reference not set to an instance of an object. SaveDocumentImp lmentationActio n.SaveFileAs( Document document) SaveDocumentImp lmentationActio n.Activated( Object sender, DocumentCancelE ventArgs e) FileActions. RaiseSaveDocume nt(Document document, Boolean saveAs) Document. Save(Boolean saveAs) SaveDocumentAsA ction.Activated (Object sender, EventArgs e) Command. <.ctor> b__33_0( Object o, ActivatedArgs args) ActivatedHandle r.Invoke( Object, Object, IntPtr*) Reflection. MethodInvoker. Invoke( Object obj, IntPtr* args, BindingFlags invokeAttr) Reflection. MethodInvoker. Invoke( Object obj, IntPtr* args, BindingFlags invokeAttr) Reflection. RuntimeMethodIn fo.Invoke( Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) Delegate. DynamicInvokeIm pl(Object[ ] args) ClosureInvokedC B(Object o, ClosureInvokedArgs args) ure.MarshalCall back(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
open pinta
File=>Save As
set name: some-new-image.jpg
the path will default to something like /run/user/
hit Save
exception window appears: "Unhandled exception":
System.
---> System.
at Pinta.Actions.
at Pinta.Actions.
at Pinta.Core.
at Pinta.Core.
at Pinta.Actions.
at Pinta.Core.
at InvokeStub_
at System.
--- End of inner exception stack trace ---
at System.
at System.
at System.
at GLib.Signal.
at GLib.SignalClos
probably not related, but just in case: "ll /run/user/1000/doc/ | grep 95720e22" shows "drwx------ 2 dylan dylan ..."