Bug 21449 - User code size and NullReferenceException?
Summary: User code size and NullReferenceException?
Status: RESOLVED DUPLICATE of bug 18134
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.14.0
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-07-18 15:48 UTC by Sebastian Zangaro
Modified: 2014-07-21 15:21 UTC (History)
4 users (show)

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

Xamarin Studio's screenshot (104.28 KB, image/png)
2014-07-18 15:48 UTC, Sebastian Zangaro

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:

Description Sebastian Zangaro 2014-07-18 15:48:01 UTC
Hi, I just created a new solution (Fresh) and I can't run it. Attached Screenshot
Comment 1 Sebastian Zangaro 2014-07-18 15:48:46 UTC
Created attachment 7426 [details]
Xamarin Studio's screenshot
Comment 2 Prashant manu 2014-07-21 08:20:38 UTC
Using starter edition building large size app shows error message 'system.NullReferenceException' which seems Incorrect and needs to be removed or updated.

However 'Error XA9005: User code size, 1992686 bytes, is larger than 65536 and requires a Indie (or higher) License. (XA9005) (ghfdhfgdg.Android)' message is fine.

Screencast: http://screencast.com/t/BnCSiS3dYD5r

Supplement Info: 
Build Output: https://gist.github.com/saurabh360/5d8f6c704786a22ed236
IDE Log: https://gist.github.com/saurabh360/bdc46d63877f15c613cb

Environment Info:
Xamarin Studio
Version 5.1.4 (build 0)
Installation UUID: 9021cab7-54cb-4099-bb6d-b40439903e85
	Microsoft .NET 4.0.30319.18408
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.25

Version: 4.12.6 (Starter Edition)
Android SDK: E:\Android\Ansdk
	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.4   (API level 19)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_31
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

Build Information
Release ID: 501040000
Git revision: 7d45bbe2ee22625f125d0c52548524f02d005cca
Build date: 2014-07-14 13:38:46-04
Xamarin addins: c78f1d88e57baa928aeee1484d96e6f8edf8de33

Operating System
Windows 6.1.7601.65536 (64-bit)
Comment 3 Jonathan Pryor 2014-07-21 15:21:03 UTC
This should be fixed in 4.14.

*** This bug has been marked as a duplicate of bug 18134 ***