Bug 24094 - under some Docking state, "Find References" operation crashes
Summary: under some Docking state, "Find References" operation crashes
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-28 05:09 UTC by Atsushi Eno
Modified: 2014-10-28 06:31 UTC (History)
1 user (show)

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


Attachments
error sshot (218.18 KB, image/png)
2014-10-28 05:09 UTC, Atsushi Eno
Details
my EditingLayout.xml (4.63 KB, text/xml)
2014-10-28 05:10 UTC, Atsushi Eno
Details


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 for Bug 24094 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Atsushi Eno 2014-10-28 05:09:07 UTC
Created attachment 8522 [details]
error sshot

I believe it depends on the Pads' docking state as it didn't happen before I changed some dock layout locally.

With my docking state[*1] it causes crash when I operate "Find References" on C# source file in the text editor.

Repro (possibly with anything, but this is my reproducible steps):

1. git clone https://github.com/atsushieno/cadencii.git
2. git checkout 93ab6418c7f47a44fd19b5d9fa1370cd98a7dcaf
3. open Cadencii.sln. There is nothing opened by default (i.e. no saved state in *.userprefs)
4. open src/Cadencii.Application.Model/AuthorListEntry.cs.
5. right click "AuthorListEntry" at line 20 and operate "Find References" command.

It results in error:

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Components.Docking.DockBarItem.<Present>m__2 () [0x00027] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockBarItem.cs:278 
  at GLib.Timeout+TimeoutProxy.Handler () [0x0000f] in /svn/gtk-sharp/glib/Timeout.cs:70 


[*1] My ~/config/MonoDevelop-5.0/EditingLayout.xml was: https://gist.github.com/atsushieno/b352207d6798aea87b84
Comment 1 Atsushi Eno 2014-10-28 05:10:05 UTC
Created attachment 8523 [details]
my EditingLayout.xml