Bug 3303 - System.NullReferenceException at MTouch.ExtractNativeLinkInfo
Summary: System.NullReferenceException at MTouch.ExtractNativeLinkInfo
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.6
Hardware: Macintosh Mac OS
: Highest critical
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-02-09 06:46 UTC by Mark Hodgson
Modified: 2012-02-14 14:20 UTC (History)
2 users (show)

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


Attachments
Zipped full project (4.90 MB, application/x-zip-compressed)
2012-02-09 06:46 UTC, Mark Hodgson
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:
RESOLVED FIXED

Description Mark Hodgson 2012-02-09 06:46:30 UTC
Created attachment 1329 [details]
Zipped full project

compiler output:


Building: GolfingUnionOfIreland (Debug|iPhoneSimulator)

Building Solution GolfingUnionOfIreland

Building: GolfingUnionOfIreland (Debug|iPhoneSimulator)

Performing main compilation...
/Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/mrrrk/Projects/GolfingUnionOfIreland/bin/iPhoneSimulator/Debug/GolfingUnionOfIreland.exe" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" "/r:/Users/mrrrk/Projects/GolfingUnionOfIreland/Lib/DotNetOpenAuth.Contracts.dll" "/r:/Users/mrrrk/Projects/GolfingUnionOfIreland/Lib/DotNetOpenAuth.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG"  /t:exe "/Users/mrrrk/Projects/GolfingUnionOfIreland/App/Main.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/App/AppDelegate.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/FirstViewController.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/FirstViewController.designer.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/SecondViewController.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/SecondViewController.designer.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/App/Repository.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Model/User.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/LoginView.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/LoginView.designer.cs" "/Users/mrrrk/Projects/GolfingUnionOfIreland/Views/RoundedBoxView.cs" 
Build complete -- 0 errors, 0 warnings

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Developer" -v --nomanifest --nosign -sim "/Users/mrrrk/Projects/GolfingUnionOfIreland/bin/iPhoneSimulator/Debug/GolfingUnionOfIreland.app" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -r "/Users/mrrrk/Projects/GolfingUnionOfIreland/Lib/DotNetOpenAuth.Contracts.dll" -r "/Users/mrrrk/Projects/GolfingUnionOfIreland/Lib/DotNetOpenAuth.dll" -debug -profiling -nolink -sdk "5.0" "/Users/mrrrk/Projects/GolfingUnionOfIreland/bin/iPhoneSimulator/Debug/GolfingUnionOfIreland.exe"
MonoTouch version 5.2.3 using framework: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com
System.NullReferenceException: Object reference not set to an instance of an object
  at MTouch.ExtractNativeLinkInfo (System.String project_root, System.Collections.Generic.List`1 references) [0x00000] in <filename unknown>:0 
  at MTouch.Main2 (System.String[] args) [0x00000] in <filename unknown>:0 
  at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0 

---------------------- Done ----------------------

Build: 1 error, 0 warnings
Comment 1 Miguel de Icaza [MSFT] 2012-02-14 11:49:06 UTC
jeff, please take a look at this issue.

We need fixes in both 5.2-series and master.
Comment 2 Jeffrey Stedfast 2012-02-14 14:20:39 UTC
I've fixed this in master and 5.2-series branches