Bug 25483 - Exception when going into Project Options/Build/iOSApplication
Summary: Exception when going into Project Options/Build/iOSApplication
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.5
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2014-12-17 23:57 UTC by dj_technohead
Modified: 2015-02-06 14:34 UTC (History)
3 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:
RESOLVED FIXED

Description dj_technohead 2014-12-17 23:57:29 UTC

    
Comment 1 dj_technohead 2014-12-17 23:57:54 UTC
ystem.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.IPhone.PlistEditor.LaunchImagesBase.UpdateLaunchScreen () [0x00007] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/LaunchImagesBase.cs:600 
  at MonoDevelop.IPhone.PlistEditor.LaunchImagesBase.UpdateUI () [0x0007d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/LaunchImagesBase.cs:627 
  at MonoDevelop.IPhone.PlistEditor.LaunchImagesBase.OnAssetCatalogChanged (FilePath path) [0x0007d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/LaunchImagesBase.cs:594 
  at MonoDevelop.IPhone.PlistEditor.IconsBase.AssetCatalogChanged (System.Object sender, System.EventArgs e) [0x0009a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IconsBase.cs:546 
  at MonoDevelop.IPhone.PlistEditor.IconsBase.RefreshAssetCatalogs (FilePath selected) [0x001d9] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IconsBase.cs:417 
  at MonoDevelop.IPhone.PlistEditor.IconsBase.Build () [0x000a5] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IconsBase.cs:510 
  at MonoDevelop.IPhone.PlistEditor.LaunchImagesBase.Build () [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/LaunchImagesBase.cs:475 
  at MonoDevelop.IPhone.PlistEditor.IPhoneLaunchImages..ctor (MonoDevelop.IPhone.IPhoneProject project, Xamarin.MacDev.PDictionary plist, MonoDevelop.IPhone.PlistEditor.LaunchImageFileManager imageManager) [0x0000b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IPhoneLaunchImages.cs:37 
  at MonoDevelop.IPhone.PlistEditor.IPhonePlistAttachableDisplayBinding+<GetSections>c__Iterator0.MoveNext () [0x003b9] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/PlistEditor/IPhonePlistAttachableDisplayBinding.cs:123 
  at MonoDevelop.MacDev.PlistEditor.FriendlyPlistEditorWidget..ctor (Xamarin.MacDev.PObjectContainer plist, IEnumerable`1 sections) [0x000e1] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/PlistEditor/FriendlyPlistEditorWidget.cs:44 
  at MonoDevelop.IPhone.Gui.IPhoneOptionsPanel.CreatePanelWidget () [0x0009c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Gui/IPhoneOptionsPanel.cs:71 
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget (MonoDevelop.Ide.Gui.Dialogs.SectionPage page) [0x0003b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:634 
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage (MonoDevelop.Ide.Extensions.OptionsDialogSection section) [0x001ae] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:518 
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged (System.Object s, System.EventArgs a) [0x0002e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/f93940a3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:461 
  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) [0x00054] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:230 
  --- 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) [0x00069] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:238 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Reflection/MethodBase.cs:114 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00107] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System/Delegate.cs:462 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System/MulticastDelegate.cs:70 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System/Delegate.cs:407 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00050] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/gtk-sharp-2.12.21/glib/Signal.cs:195 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00019] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/gtk-sharp-2.12.21/glib/SignalClosure.cs:118 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00084] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/gtk-sharp-2.12.21/glib/SignalClosure.cs:146
Comment 2 Ram Chandra 2014-12-18 09:39:34 UTC
I can't reproduce this, we may have to see if a developer can figure out what's going on from the stack trace. If you have a chance, it might also be helpful to include some other pieces of information like IDE logs and build information.

1. IDE logs:  
 Location : Help => Open Log Directory => IDE logs ( please attach latest one)

2. Build Info:
Location: Xamarin Studio=> About Xamarin Studio =>Show Details => Copy Information

If you are facing this issue with any specific project then please attach that same also.
Comment 3 Jeffrey Stedfast 2015-02-06 14:34:49 UTC
This was fixed in 5.7