Bug 15464 - iOS Designer will not render Custom Controls in the Designer View
Summary: iOS Designer will not render Custom Controls in the Designer View
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 4.1.12
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2013-10-17 13:31 UTC by ahmed
Modified: 2013-11-21 12:40 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 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 ahmed 2013-10-17 13:31:10 UTC
Using the latest version of iOS UI Desinger I cannot render custom views in my designer view (they appear is Gray boxes)
They rendered the first time I opened the storyboard file (using iOS7) but subsequently I get the error 

"Custom Components are not being rendered because problems were detected"

here is the log of the error: (see below for full stack trace and errors from log file)

INFO: InvalidateCurrentSession:    at System.Environment.get_StackTrace() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/Environment.cs:line 261


My System Info:

=== Xamarin Studio ===

Version 4.1.12 (build 6)
Installation UUID: 589566f0-cbfa-4c95-9935-a084724b35dd
Runtime:
	Mono 3.2.3 ((no/8d3b4b7)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (2.12.0.0)
	Package version: 302030000

 

=== Apple Developer Tools ===

Xcode 5.0 (3332.25)
Build 5A1413

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.iOS ===

Version: 7.0.2.7 (Enterprise Edition)
Hash: 57edee2
Branch: 
Build date: 2013-04-10 18:05:51-0400

=== Build Information ===

Release ID: 401120006
Git revision: a9ae69a4bf37955e4ab4df0cec7804f574c51f72
Build date: 2013-09-25 16:59:37+0000
Xamarin addins: 761ae26f220068dda0b62f0dd2253f617589a8c6

=== Operating System ===

Mac OS X 10.8.5
 
    Mon Jul 29 16:33:49 PDT 2013
    root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64

===================================================================================================================

DETAILS OF ERROR FROM LOG:


 Marker - Oct 17, 2013 12:29:21 PM
[2013-10-17 12:29:22.7] INFO: InvalidateCurrentSession:    at System.Environment.get_StackTrace() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/Environment.cs:line 261
   at MonoTouch.Design.Client.IPhoneDesignerSession.InvalidateCurrentSession() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:line 1034
   at MonoTouch.Design.Client.IPhoneDesignerSession.set_SafeMode(Boolean value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:line 119
   at MonoTouch.Design.Client.IPhoneDesignerSurface.<HandleSafeModeChanged>m__2(System.Object _, System.EventArgs __) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSurface.cs:line 99
   at Xamarin.Designer.DesignerCommand.Click() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer/Xamarin.Designer/DesignerCommand.cs:line 52
   at Xamarin.Designer.VisualItems.ButtonItem.OnClicked() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer/Xamarin.Designer.VisualItems/ButtonItem.cs:line 78
   at Xamarin.Designer.VisualItem.OnButtonReleased(Xwt.ButtonEventArgs args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer/Xamarin.Designer/VisualItem.cs:line 599
   at Xamarin.Designer.DesignerSurface.OnButtonReleased(Xwt.ButtonEventArgs args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer/Xamarin.Designer/DesignerSurface.cs:line 579
   at MonoTouch.Design.Client.IPhoneDesignerSurface.OnButtonReleased(Xwt.ButtonEventArgs args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSurface.cs:line 548
   at Xwt.Widget+WidgetBackendHost.Xwt.Backends.IWidgetEventSink.OnButtonReleased(Xwt.ButtonEventArgs args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/Widget.cs:line 222
   at Xwt.GtkBackend.WidgetBackend+<HandleButtonReleaseEvent>c__AnonStoreyA.<>m__D() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/WidgetBackend.cs:line 781
   at Xwt.Toolkit.Invoke(System.Action a) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/Toolkit.cs:line 260
   at Xwt.Backends.ApplicationContext.InvokeUserCode(System.Action a) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt.Backends/ApplicationContext.cs:line 42
   at Xwt.GtkBackend.WidgetBackend.HandleButtonReleaseEvent(System.Object o, Gtk.ButtonReleaseEventArgs args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/WidgetBackend.cs:line 780
   at System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Reflection/MonoMethod.cs:line 230
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Reflection/MethodBase.cs:line 114
   at System.Delegate.DynamicInvokeImpl(System.Object[] args) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/Delegate.cs:line 424
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/MulticastDelegate.cs:line 72
   at System.Delegate.DynamicInvoke(System.Object[] args) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/Delegate.cs:line 398
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:line 387
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 295
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 541
   at Xamarin.Startup.MainClass.Main(System.String[] args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Startup/Main.cs:line 10
[2013-10-17 12:29:23.3] INFO: Starting full reload...
[2013-10-17 12:29:23.3] INFO: Waiting for server to spin up... 1
[2013-10-17 12:29:23.5] INFO: Waiting for server to spin up... 2
[2013-10-17 12:29:23.7] INFO: Waiting for server to spin up... 3
[2013-10-17 12:29:23.9] INFO: Waiting for server to spin up... 4
[2013-10-17 12:29:24.2] ERROR: EnsureSession (counter 0): MonoTouch.Design.Client.InvalidSessionException: Session invalid
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<ReloadItems>c__AnonStorey71.<>m__198 (MonoTouch.Design.Client.ServerProcessConnection c) [0x0002b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:356 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey85`1[System.Object[]].<>m__1BA () [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1425 
[2013-10-17 12:29:24.5] INFO: Fetched iOS SDK data in /var/folders/8j/7lhn0d915nxb4wx5cxwfn9mc0000gn/T/xd-support-files-73abcc41
[2013-10-17 12:29:25.2] INFO: Reload complete.
[2013-10-17 12:29:25.3] ERROR: Error while retrieving class icon for 
[2013-10-17 12:29:25.3] ERROR: Error while retrieving class icon for 
[2013-10-17 12:29:26.9] ERROR: EnsureSession (counter 0): System.AggregateException:  ---> MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x0004a] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:651 
  at System.Threading.Tasks.Task.Wait () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:619 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.ModelObject[]].get_Result () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:48 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<Render>c__AnonStorey83.<>m__1B7 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1133 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey85`1[MonoTouch.Design.ModelObject[]].<>m__1BA () [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1425 
 --> (Inner exception 0) MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 

[2013-10-17 12:29:26.9] ERROR: Error rendering toolbox models:
System.AggregateException:  ---> System.AggregateException:  ---> MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x0004a] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:651 
  at System.Threading.Tasks.Task.Wait () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:619 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.ModelObject[]].get_Result () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:48 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<Render>c__AnonStorey83.<>m__1B7 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1133 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey85`1[MonoTouch.Design.ModelObject[]].<>m__1BA () [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1425 
 --> (Inner exception 0) MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 

  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task`1[MonoTouch.Design.ModelObject[]].get_Result () [0x00043] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:53 
  at MonoTouch.Design.Client.IPhoneDesignerToolbox+<Reload>c__AnonStorey6A.<>m__188 (System.Threading.Tasks.Task`1 t) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerToolbox.cs:109 
 --> (Inner exception 0) System.AggregateException:  ---> MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x0004a] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:651 
  at System.Threading.Tasks.Task.Wait () [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:619 
  at System.Threading.Tasks.Task`1[MonoTouch.Design.ModelObject[]].get_Result () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task_T.cs:48 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<Render>c__AnonStorey83.<>m__1B7 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00013] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1133 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey85`1[MonoTouch.Design.ModelObject[]].<>m__1BA () [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1425 
 --> (Inner exception 0) MonoTouch.Design.Client.DesignerRemoteException: System.NullReferenceException: Object reference not set to an instance of an object
	at MonoTouch.Design.NativeExtensions.GetSystemColorName (MonoTouch.UIKit.UIColor color) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:48
	at MonoTouch.Design.Server.UIColorConverter.ColorToString (MonoTouch.UIKit.UIColor color, Boolean forceAlpha) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/UIKitTypeConverter.cs:106
	at MonoTouch.Design.Server.PropertyGatherer.DoGather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:70
	at MonoTouch.Design.Server.PropertyGatherer.Gather (MonoTouch.UIKit.UIView view, System.Collections.Generic.Dictionary`2 props) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/PropertyGatherer.cs:28
	at MonoTouch.Design.ServerParser.GatherPropertyValues (System.Object value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:85
	at MonoTouch.Design.Parser.CreateModelObject (MonoTouch.Design.ParseContext context, System.Object result, System.Object wrappedResult) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:117
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, MonoTouch.Design.ProxiedException error) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:213
	at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:196
	at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:174
	at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:147
	at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey6.<>m__14 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:97
	at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey9.<>m__20 () in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:202
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<RenderCore>c__AnonStorey84.<>m__1B8 (System.Threading.Tasks.Task t) [0x0001a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1145 
  at System.Threading.Tasks.TaskActionInvoker+FuncTaskInvoke`1[MonoTouch.Design.ModelObject[]].Invoke (System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:262 
  at System.Threading.Tasks.Task.InnerInvoke () [0x0000b] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:503 
  at System.Threading.Tasks.Task.ThreadStart () [0x00097] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:404 


[2013-10-17 12:29:26.9] INFO: InvalidateCurrentSession:    at System.Environment.get_StackTrace() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System/Environment.cs:line 261
   at MonoTouch.Design.Client.IPhoneDesignerSession.InvalidateCurrentSession() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:line 1034
   at MonoTouch.Design.Client.IPhoneDesignerSession.set_SafeMode(Boolean value) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:line 119
   at MonoTouch.Design.Client.IPhoneDesignerToolbox+<Reload>c__AnonStorey6A.<>m__188(System.Threading.Tasks.Task`1 t) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerToolbox.cs:line 130
   at System.Threading.Tasks.TaskActionInvoker+ActionTaskInvoke`1[[MonoTouch.Design.ModelObject[], MonoTouch.Design, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].Invoke(System.Threading.Tasks.Task owner, System.Object state, System.Threading.Tasks.Task context) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskActionInvoker.cs:line 199
   at System.Threading.Tasks.Task.InnerInvoke() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 503
   at System.Threading.Tasks.Task.ThreadStart() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 404
   at System.Threading.Tasks.Task.Execute() in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/Task.cs:line 469
   at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task task) in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.Threading.Tasks/TaskScheduler.cs:line 124
   at Xwt.XwtTaskScheduler+<QueueTask>c__AnonStoreyD.<>m__2D() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/XwtTaskScheduler.cs:line 50
   at Xwt.Toolkit.Invoke(System.Action a) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/Toolkit.cs:line 260
   at Xwt.XwtTaskScheduler+<QueueTask>c__AnonStoreyD.<>m__2B() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/XwtTaskScheduler.cs:line 50
   at Xwt.Application+<Invoke>c__AnonStorey0.<>m__9() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt/Xwt/Application.cs:line 131
   at Xwt.GtkBackend.GtkEngine+<InvokeAsync>c__AnonStorey12.<>m__16(System.Object , System.EventArgs ) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/GtkEngine.cs:line 183
   at Gtk.Application+InvokeCB.Invoke()
   at GLib.Timeout+TimeoutProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run() in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:line 387
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 295
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 541
   at Xamarin.Startup.MainClass.Main(System.String[] args) in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Startup/Main.cs:line 10
[2013-10-17 12:29:27.3] INFO: Starting full reload...
[2013-10-17 12:29:27.3] INFO: Waiting for server to spin up... 1
[2013-10-17 12:29:27.5] INFO: Waiting for server to spin up... 2
[2013-10-17 12:29:27.7] INFO: Waiting for server to spin up... 3
[2013-10-17 12:29:27.9] INFO: Waiting for server to spin up... 4
[2013-10-17 12:29:28.2] ERROR: EnsureSession (counter 0): MonoTouch.Design.Client.InvalidSessionException: Session invalid
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[Object[]] (MonoTouch.Design.CommandRequest req, Boolean throwIfNotRunning) [0x000be] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:187 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.String xml, System.String[] viewsToHide) [0x0006b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:120 
  at MonoTouch.Design.Client.ServerProcessConnection.PostXml (MonoTouch.Design.DesignSession session, System.Xml.Linq.XElement[] xml) [0x00044] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:106 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<ReloadItems>c__AnonStorey71.<>m__198 (MonoTouch.Design.Client.ServerProcessConnection c) [0x0002b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:356 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey85`1[System.Object[]].<>m__1BA () [0x00096] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.12-branch/a9ae69a4/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1425 
[2013-10-17 12:29:28.4] INFO: Fetched iOS SDK data in /var/folders/8j/7lhn0d915nxb4wx5cxwfn9mc0000gn/T/xd-support-files-73abcc41
[2013-10-17 12:29:28.9] INFO: Reload complete.
Comment 1 Alan McGovern 2013-10-17 23:16:59 UTC
Thanks for reporting the problem. It looks like this should be relatively simple for us to solve but it would be very helpful if you could attach a copy of the storyboard which triggers the error. If we can figure out the specific part of the storyboard file which triggers this error we can add a regression test to prevent the issue from ever happening again.

If you wish your storyboard to remain private either tick the 'private attachment' checkbox when attaching the file to this bug report or email it directly to me, alan@xamarin.com.

Jeremie, this looks like an issue in your area so I'm assigning to you. The source of this bug is a null reference trying to get a system color. Search that stacktrace for 'System.NullReferenceException' and you'll see the root cause of the issue. It'd be nice if we could get a fix for this into the next alpha.
Comment 2 Jérémie Laval 2013-11-21 12:40:41 UTC
This is fixed and will be part of the next alpha release.

It would still be very helpful if you could share your storyboard/custom control as Alan mentioned so that we can make sure this never regress.