FS#77434 - [pinta] crashes after update

Attached to Project: Community Packages
Opened by Łukasz Michalski (zork) - Wednesday, 08 February 2023, 14:17 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 04:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To NicoHood (NicoHood)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Version 2.1, full system update from 14.02.2023r

Just after starting:

System.UriFormatException: Invalid URI: The URI is empty.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at GLib.FileAdapter.get_Uri()
at Pinta.MainWindow.LoadUserSettings()
at Pinta.MainWindow.OnActivated()
at GLib.Application.Activated_cb(IntPtr inst)

And then after creating new Image:

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.BaseTool.SetCursor(Cursor cursor)
at Pinta.Core.BaseTool.<.ctor>b__14_0(Object _, EventArgs _)
at Pinta.Core.WorkspaceManager.OnActiveDocumentChanged(EventArgs e)
at Pinta.Core.WorkspaceManager.SetActiveDocumentInternal(Document document)
at Pinta.Core.WindowActions.<.ctor>b__11_0(Object o, ActivatedArgs e)
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)

Upstream bug:
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 23 May 2023, 04:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  pinta 2.1.1-1