Bug 24637 - Unable to open Info.Plist in Xamarin Studio
Summary: Unable to open Info.Plist in Xamarin Studio
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.5
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2014-11-19 01:35 UTC by Joseph Hanna
Modified: 2015-01-13 13:26 UTC (History)
2 users (show)

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


Attachments
Xamarin Studio log file attached (98.71 KB, application/octet-stream)
2014-11-19 01:35 UTC, Joseph Hanna
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 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 Joseph Hanna 2014-11-19 01:35:51 UTC
Created attachment 8796 [details]
Xamarin Studio log file attached

Description of Problem:
Unable to open "iOS Application" page on Project properties.  This is urgent as it is preventing me from publishing this app for a client to the App Store.

Steps to reproduce the problem:
1. Double click on Project in Solution Explorer
2. Once project dialog appears, Click on "iOS Application"
3. Also happens if you double-click on the Info.Plist in the solution explorer.

Actual Results:
XS raises a runtime exception.

Expected Results:
Show the "iOS Application" setup dialog

How often does this happen? 
Every time.

Additional Information:
Can open Info.plist using Plist editor without error.

XS does not recognise my Java Runtime installation and continually prompts me for it.  I have JRE 8 update 25.

Here is the exception:

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.IPhone.PlistEditor.LaunchImagesBase.UpdateLaunchScreen () [0x00007] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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/fbe3e945/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 





My Environment:-
=== Xamarin Studio ===

Version 5.5.3 (build 6)
Installation UUID: 91c8007d-5c08-419d-8255-8baafc57debc
Runtime:
	Mono 3.10.0 ((detached/e204655)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000023

=== Xamarin.Android ===

Version: 4.18.1 (Business Edition)
Android SDK: /Users/joe/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
Java SDK: /usr
No Java runtime present, requesting install.

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.Mac ===

Version: 1.10.0.18 (Business Edition)

=== Xamarin.iOS ===

Version: 8.4.0.16 (Business Edition)
Hash: 80e9ff7
Branch: 
Build date: 2014-10-22 15:09:12-0400

=== Build Information ===

Release ID: 505030006
Git revision: fbe3e9453daf6a3bb9a9709ed22bec35f7c9056b
Build date: 2014-10-23 13:08:38-04
Xamarin addins: e44add2b39de4dd57c0742bb2e620dfad84c64c6

=== Operating System ===

Mac OS X 10.10.0
Darwin Josephs-MacBook-Pro.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 1 Jeffrey Stedfast 2014-11-19 15:46:02 UTC
This is fixed in the upcoming 5.5.4

Try this build: http://storage.bos.internalx.com/monodevelop-lion-monodevelop-5.5-branch/0b/0ba6e4604b0c07b002498251c20bde8a265b13be/XamarinStudio-5.5.4.14.dmg

As far as Java goes, make sure to install this Java package: http://support.apple.com/kb/DL1572

Java from Oracle does not work.
Comment 2 Sunil Kumar 2015-01-13 13:26:12 UTC
I have checked this issue and now this issue works fine. I am successfully able to open Info.plist file via double clicking the file in Solution explorer and via double click on project then click the "iOS application" option from project option window.

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

Hence, closing this issue.

Environment info:
=== Xamarin Studio ===

Version 5.7 (build 661)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 8.6.0.51 (Trial Edition)
Hash: dfb682f
Branch: 
Build date: 2015-01-08 13:39:32-0500

=== Xamarin.Android ===

Version: 4.20.0.28 (Trial Edition)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.11.3.0 (Trial Edition)

=== Build Information ===

Release ID: 507000661
Git revision: b70bab61da996da29045ea8ee8aed1a6faedbe78
Build date: 2015-01-05 16:31:31-05
Xamarin addins: 82f6c71490562d6cd125a09287f441902fdac3d7

=== Operating System ===

Mac OS X 10.8.4
Darwin Tajinders-iMac.local 12.4.2 Darwin Kernel Version 12.4.2
    Mon Jun 17 18:00:12 PDT 2013
    root:xnu-2050.45.8~1/RELEASE_X86_64 x86_64