Bug 23917 - Move to unified API crashes
Summary: Move to unified API crashes
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.6
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2014-10-18 04:34 UTC by Paul Johnson
Modified: 2014-10-21 14:32 UTC (History)
1 user (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 Paul Johnson 2014-10-18 04:34:14 UTC
The automated migration tool crashes when used

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MacDev.Migration.ClassicToUnifiedMigrationVisitorBase.VisitUsingDeclaration (ICSharpCode.NRefactory.CSharp.UsingDeclaration usingDeclaration) [0x00058] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/md-addins/MonoDevelop.MacDev/MonoDevelop.MacDev/Migration/ClassicToUnifiedMigrationVisitor.cs:175 
  at ICSharpCode.NRefactory.CSharp.UsingDeclaration.AcceptVisitor (IAstVisitor visitor) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Ast/GeneralScope/UsingDeclaration.cs:103 
  at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitChildren (ICSharpCode.NRefactory.CSharp.AstNode node) [0x00017] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Ast/DepthFirstAstVisitor.cs:43 
  at ICSharpCode.NRefactory.CSharp.DepthFirstAstVisitor.VisitSyntaxTree (ICSharpCode.NRefactory.CSharp.SyntaxTree syntaxTree) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Ast/DepthFirstAstVisitor.cs:57 
  at ICSharpCode.NRefactory.CSharp.SyntaxTree.AcceptVisitor (IAstVisitor visitor) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Ast/SyntaxTree.cs:140 
  at MonoDevelop.IPhone.Migration.ClassicToUnifiedMigration.FixupSourceCode () [0x00181] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Migration/ClassicToUnifiedMigration.cs:84 
  at MonoDevelop.IPhone.Migration.ClassicToUnifiedMigration.Run () [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Migration/ClassicToUnifiedMigration.cs:43 
  at MonoDevelop.IPhone.MigrateToUnifiedCommandHandler.Run () [0x00083] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/IPhoneCommands.cs:565 
  at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object dataItem) [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61 
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) [0x00086] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1092 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002fc] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1059 

=== Xamarin Studio ===

Version 5.6.2 (build 5)
Installation UUID: f3d1a29c-1ba2-4a83-a193-1087efe91a85
Runtime:
	Mono 3.10.0 ((detached/633e444)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000020

=== Apple Developer Tools ===

Xcode 6.1 (6539)
Build 6A1046a

=== Xamarin.iOS ===

Version: 8.2.0.193 (Business Edition)
Hash: 959c1e4
Branch: 
Build date: 2014-10-03 00:25:37-0400

=== Xamarin.Android ===

Version: 4.99.0 (Business Edition)
Android SDK: /Users/PFJ/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		1.6    (API level 4)
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.0    (API level 11)
		3.1    (API level 12)
		3.2    (API level 13)
		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)
Java SDK: /usr
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

=== Xamarin.Mac ===

Version: 1.11.0.1 (Business Edition)

=== Build Information ===

Release ID: 506020005
Git revision: 19bc3b64b70332bfab18faf9cf1ce7d3aa191b36
Build date: 2014-10-17 14:49:01-04

=== Operating System ===

Mac OS X 10.10.0
Darwin Pauls-iMac.local 14.0.0 Darwin Kernel Version 14.0.0
    Sat Sep 27 03:58:47 PDT 2014
    root:xnu-2782.1.97~11/RELEASE_X86_64 x86_64
Comment 1 Jeffrey Stedfast 2014-10-21 14:32:34 UTC
should be fixed in git master