Bug 55894 - Clicking on IOS application in VS 2015 causes VS to Crash!!
Summary: Clicking on IOS application in VS 2015 causes VS to Crash!!
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: 15.3
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-02 21:34 UTC by mitchell balsam
Modified: 2017-06-29 11:25 UTC (History)
5 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 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 mitchell balsam 2017-05-02 21:34:40 UTC
Using the most resent Xamarin update with VS 2015 
Clicking on IOS application in VS 2015 causes VS to Crash!!

If i delete my entitlements.plist file before i click on IOSApplication, i does not crash.

StackTrace:

Xamarin.VisualStudio.IOS.Widgets.EntitlementsPanel|Warning|0|Failed to parse PList data type: 
System.ArgumentException: Failed to parse PList data type: ---> System.ArgumentException: Must specify valid information for parsing in the string.
at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at System.Enum.Parse(Type enumType, String value)
at Xamarin.MacDev.PropertyListFormat.XmlFormat.Context.ReadObjectHead()
--- End of inner exception stack trace ---
at Xamarin.MacDev.PropertyListFormat.XmlFormat.Context.ReadObjectHead()
at Xamarin.MacDev.PropertyListFormat.XmlFormat.Context..ctor(XmlReader reader)
at Xamarin.MacDev.PropertyListFormat.XmlFormat.StartReading(Stream input)
at Xamarin.MacDev.PropertyListFormat.CreateReadContext(Stream input)
at Xamarin.MacDev.PObject.FromFile(String fileName, Boolean& isBinary)
at Xamarin.MacDev.PDictionary.FromFile(String fileName, Boolean& isBinary)
at Xamarin.MacDev.PDictionary.FromFile(String fileName)
at Xamarin.VisualStudio.IOS.Widgets.EntitlementsPanel.ReadLoadedEntitlements(Project project, String entitlementsFileName) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Core\VisualStudio.IOS\Widgets\EntitlementsPanel.cs:line 228
at Xamarin.VisualStudio.IOS.Widgets.EntitlementsPanel.cbEnableEntitlements_CheckedChanged(Object sender, EventArgs e) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Core\VisualStudio.IOS\Widgets\EntitlementsPanel.cs:line 331
Xamarin.VisualStudio.UnhandledExceptionsManager|Error|0|An unhandled error occurred. Details: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
at Xamarin.VisualStudio.IOS.Widgets.EntitlementsPanel.EntitlementsChanged() in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Core\VisualStudio.IOS\Widgets\EntitlementsPanel.cs:line 173
at Xamarin.VisualStudio.IOS.Widgets.EntitlementsPanel.OnEntitlementsPanelLoad(Object sender, EventArgs e) in C:\d\lanes\4471\3f99c5a7\source\xamarinvs\src\Core\VisualStudio.IOS\Widgets\EntitlementsPanel.cs:line 212
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




Microsoft Visual Studio Enterprise 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA032
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2015   00322-80000-00000-AA032
Microsoft LightSwitch for Visual Studio 2015

Microsoft Visual Studio Tools for Applications 2015   00322-80000-00000-AA032
Microsoft Visual Studio Tools for Applications 2015

Visual Basic 2015   00322-80000-00000-AA032
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA032
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA032
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA032
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1   14.1.20810.0
ASP.NET and Web Tools 2015.1

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.8.1   14.0.11123.0
Azure App Service Tools v2.8.1

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JetBrains ReSharper Ultimate 2017.1.2    Build 108.0.20170428.75743
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft .NET Core Tools (Preview 2)   14.1.20810.0
Microsoft .NET Core Tools (Preview 2)

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   3.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Python Tools for Visual Studio   2.2.40623.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.40623.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.40623.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualSVN   5.1.4
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at http://www.visualsvn.com
Copyright © 2005-2016 VisualSVN Ltd. All rights reserved.

Windows Installer XML Toolset   3.10.0.2103
Windows Installer XML Toolset version 3.10.0.2103
Copyright (c) Outercurve Foundation. All rights reserved.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   4.4.0.34 (3f99c5a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.7 (b16fb82)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.174 (7656cc6)
Visual Studio extension to enable development for Xamarin.iOS.

https://forums.xamarin.com/discussion/94565/clicking-on-ios-application-in-vs-2015-causes-vs-to-crash#latest
Comment 1 Jose Gallardo 2017-05-18 14:16:40 UTC
Hi Mitchell,

Can you please share with us your Entitlements.plist file? Or at least a trimmed version you can use to reproduce the issue?

Thanks
Comment 2 Emanuel 2017-06-08 15:05:50 UTC
We've revamped our Entitlements editor for 15.3, and this issue was fixed as part of that effort.