Crash using dual canvas and New image icon from toolbar

Bug #1432746 reported by grofaty on 2015-03-16
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
High
Jonathan Pobst

Bug Description

Pinta dev. 1.7.0.159 on Ubuntu 14.04

1. New image 200 x 200.
2. Another new image 200 x 200.
3. Drag second image into dual canvas display.
4. New image (problem appears as reported in bug 1432743).
5. Click on tab from right-canvas.
6. Click New image from toolbar and crash appears:
==============
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.DocumentWorkspace.ZoomAndRecenterView (ZoomType zoomType, PointD point) [0x00000] in <filename unknown>:0
  at Pinta.Core.DocumentWorkspace.ZoomManually () [0x00000] in <filename unknown>:0
  at Pinta.Core.ViewActions.HandlePintaCoreActionsViewZoomComboBoxComboBoxChanged (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
==============

Cameron White (cameronwhite91) wrote :
Changed in pinta:
assignee: nobody → Jonathan Pobst (jpobst)
importance: Undecided → High
milestone: none → 1.7
status: New → Fix Committed
grofaty (grofaty) wrote :

Tested on Pinta dev. 1.7.0.173 on Ubuntu 14.04 and problem is fixed. Thanks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers