Bug 1679 - Exception while clicking on errors
Summary: Exception while clicking on errors
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-10-25 05:06 UTC by Federico Di Gregorio
Modified: 2011-10-27 05:34 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Federico Di Gregorio 2011-10-25 05:06:03 UTC
After build, in case of errors the following exception is thrown every time one clicks on the error list:

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 MonoDevelop.SourceEditor.SourceEditorView.HandleTaskServiceJumpedToTask (System.Object sender, MonoDevelop.Ide.Tasks.TaskEventArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_TaskEventArgs (object,MonoDevelop.Ide.Tasks.TaskEventArgs)
  at MonoDevelop.Ide.Tasks.TaskService.InformJumpToTask (MonoDevelop.Ide.Tasks.Task task) [0x0000c] in /home/fog/Workspaces/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/TaskService.cs:186 
  at MonoDevelop.Ide.Tasks.Task.JumpToPosition () [0x000b2] in /home/fog/Workspaces/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Tasks/Task.cs:225 
  at MonoDevelop.Ide.Gui.Pads.ErrorListPad.OnTaskJumpto (System.Object o, System.EventArgs args) [0x0005e] in /home/fog/Workspaces/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs:482 
  at MonoDevelop.Ide.Gui.Pads.ErrorListPad.OnRowActivated (System.Object o, Gtk.RowActivatedArgs args) [0x00000] in /home/fog/Workspaces/mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs:631 
  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) [0x000d5] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:226 
  --- 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) [0x000eb] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:234 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:96 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000bf] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System/Delegate.cs:408 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System/MulticastDelegate.cs:70 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /home/fog/Workspaces/mono/mono-git/mono/mcs/class/corlib/System/Delegate.cs:382 
  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
Comment 1 Mike Krüger 2011-10-27 05:34:12 UTC
can't repro, but shouldn't happen again.

Re-open, if you still get that.