Bug 13923 - System.NullReferenceException in Android Designer [XS]
Summary: System.NullReferenceException in Android Designer [XS]
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 4.0.10
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-08-12 11:29 UTC by Prashant Cholachagudda
Modified: 2014-01-21 12:34 UTC (History)
2 users (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:
VERIFIED FIXED

Description Prashant Cholachagudda 2013-08-12 11:29:09 UTC
When user selects the different screen size in Android Designer, the NRE is thrown.

System.NullReferenceException: Object reference not set to an instance of
an object.
at Xamarin.AndroidDesigner.PropertyChangeConflict.CheckStillConflicts()
at Xamarin.AndroidDesigner.LayoutInfo.ParseConflicts(IEnumerable`1
layouts)
at Xamarin.AndroidDesigner.AndroidDesignerSession.LoadFile(String
layoutPath)
at MonoDevelop.MonoDroid.Gui.AndroidDesignerView.Load(String fileName)
at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke(String fileName)
Comment 2 Lluis Sanchez 2013-08-29 06:52:20 UTC
Fixed in master.
Comment 3 Atin 2014-01-21 12:34:14 UTC
Today, we have checked this issue with:

XS 4.2.3(build 146) - 76e7c7f6ca0e59052f2bb29f8179313510977377
MFA  4.13.0-36

Now this issue is not exist, we are successfully able to select different screen size in Android designer without any Exception.

Screencast: http://www.screencast.com/t/EpV4c9yqiWf

Hence marking this as Verified