Public bug reported:

After selecting an area `pinta` repeatedly displays an exception dialog
with stacktrace

    System.Reflection.TargetInvocationException: Exception has been thrown by 
the target of an invocation. ---> System.AggregateException: One or more errors 
occurred. ---> System.NullReferenceException: Object reference not set to an 
instance of an object
      at Pinta.Core.GradientRenderer.ProcessGradientLine (Byte startAlpha, Byte 
endAlpha, Int32 y, Rectangle rect, Cairo.ImageSurface surface, 
Pinta.Core.ColorBgra* src_data_ptr, Int32 src_width) <0x40ceb660 + 0x002ce> in 
<filename unknown>:0 
      at Pinta.Core.GradientRenderer+<Render>c__AnonStorey1.<>m__0 (Int32 y) 
<0x40ceb350 + 0x00077> in <filename unknown>:0 
      at 
System.Threading.Tasks.Parallel+<PartitionerForEachWorker>c__AnonStorey7`2[TSource,TLocal].<>m__1
 () <0x40ce4950 + 0x0049e> in <filename unknown>:0 
      --- End of inner exception stack trace ---
      at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean 
includeTaskCanceledExceptions) <0x7f0d2309d920 + 0x00037> in <filename 
unknown>:0 
      at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, 
CancellationToken cancellationToken) <0x7f0d2309ed90 + 0x000c7> in <filename 
unknown>:0 
      at System.Threading.Tasks.Task.Wait () <0x7f0d2309ec80 + 0x00028> in 
<filename unknown>:0 
      at 
System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal] 
(System.Collections.Concurrent.Partitioner`1 source, 
System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1 
simpleBody, System.Action`2 bodyWithState, System.Action`3 
bodyWithStateAndIndex, System.Func`4 bodyWithStateAndLocal, System.Func`5 
bodyWithEverything, System.Func`1 localInit, System.Action`1 localFinally) 
<0x40cd2c70 + 0x008a0> in <filename unknown>:0 
    ---> (Inner Exception #0) System.NullReferenceException: Object reference 
not set to an instance of an object
      at Pinta.Core.GradientRenderer.ProcessGradientLine (Byte startAlpha, Byte 
endAlpha, Int32 y, Rectangle rect, Cairo.ImageSurface surface, 
Pinta.Core.ColorBgra* src_data_ptr, Int32 src_width) <0x40ceb660 + 0x002ce> in 
<filename unknown>:0 
      at Pinta.Core.GradientRenderer+<Render>c__AnonStorey1.<>m__0 (Int32 y) 
<0x40ceb350 + 0x00077> in <filename unknown>:0 
      at 
System.Threading.Tasks.Parallel+<PartitionerForEachWorker>c__AnonStorey7`2[TSource,TLocal].<>m__1
 () <0x40ce4950 + 0x0049e> 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) <0x7f0d231ab9e0 + 0x000ef> in 
<filename unknown>:0 
      at System.Reflection.MethodBase.Invoke (System.Object obj, 
System.Object[] parameters) <0x7f0d22fe3cf0 + 0x0002a> in <filename unknown>:0 
      at System.Delegate.DynamicInvokeImpl (System.Object[] args) 
<0x7f0d23263f60 + 0x0024c> in <filename unknown>:0 
      at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
<0x7f0d2326c040 + 0x00035> in <filename unknown>:0 
      at System.Delegate.DynamicInvoke (System.Object[] args) <0x7f0d23263e80 + 
0x00019> in <filename unknown>:0 
      at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) 
<0x7f0d2326c040 + 0x0006d> in <filename unknown>:0 
      at System.Delegate.DynamicInvoke (System.Object[] args) <0x7f0d23263e80 + 
0x00019> in <filename unknown>:0 
      at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs 
args) <0x41c39bf0 + 0x00153> in <filename unknown>:0 
      at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) <0x41c39bb0 + 
0x0002f> 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) <0x41c38540 + 0x005df> in <filename unknown>:0

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pinta 1.6-2
Uname: Linux 4.5.2-040502-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun May  1 22:42:08 2016
InstallationDate: Installed on 2015-12-12 (141 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
SourcePackage: pinta
UpgradeStatus: Upgraded to xenial on 2016-03-14 (48 days ago)

** Affects: pinta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577237

Title:
  pinta repeatedly displays
  "System.Reflection.TargetInvocationException: Exception has been
  thrown by the target of an invocation. ---> System.AggregateException:
  One or more errors occurred. ---> System.NullReferenceException:
  Object reference not set to an instance of an object"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pinta/+bug/1577237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to