![Pinta 尚未关闭](https://linux22.com/image/1102705/Pinta%20%E5%B0%9A%E6%9C%AA%E5%85%B3%E9%97%AD.png)
我正在使用 Pinta,当我关闭它时出现一个错误:未处理的异常:调用目标引发了异常。
以下是我得到的详细信息:
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.Core.SettingsManager.Serialize (System.String filename, System.Collections.Generic.Dictionary`2 settings) [0x00000] in <filename unknown>:0
at Pinta.Core.SettingsManager.SaveSettings () [0x00000] in <filename unknown>:0
at Pinta.MainWindow.SaveUserSettings () [0x00000] in <filename unknown>:0
at Pinta.MainWindow.<MainWindow>m__34 (System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
at Pinta.Core.FileActions.RaiseBeforeQuit () [0x00000] in <filename unknown>:0
at Pinta.Actions.ExitProgramAction.Activated (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0
任何帮助都值得感激。我正在使用 Ubuntu 14.04,我尝试在终端中使用关闭它sudo killall pinta
,但终端显示未找到进程。
答案1
是的,这里有同样的问题,我找不到合适的解决方案,但是打开任何图像然后关闭它对我来说是可行的。
注意:不过目前无法重现。