Bug 7105 - Tablelayout problem
Summary: Tablelayout problem
Status: RESOLVED DUPLICATE of bug 7149
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2012-09-12 13:48 UTC by Xabi
Modified: 2012-09-27 13:48 UTC (History)
2 users (show)

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:

Description Xabi 2012-09-12 13:48:18 UTC

I'm trying to work with tablelayouts for my UI design, but when I add it to the designer, and I begin to drop controls into this tablelayout, a crash occurs, and I must reset monodevelop or visual studio. Once the error has ocurred, I cant resolve it no in designer, no in source code.

Here is a detailed message about:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Xamarin.AndroidDesigner.Layouts.TableRow.AddMissingPlaceholders(Int32 ncols)
   at Xamarin.AndroidDesigner.Layouts.TableLayout.InitializeForDesigner()
   at Xamarin.AndroidDesigner.AndroidDesignerItem.InitializeForDesigner()
   at Xamarin.AndroidDesigner.AndroidDesignerSession.InitializeItem(AndroidDesignerItem item)
   at Xamarin.AndroidDesigner.AndroidDesignerSession.InitLayoutXml(LayoutInfo layout)
   at Xamarin.AndroidDesigner.AndroidDesignerSession.LoadLayoutXml(String path)
   at Xamarin.AndroidDesigner.AndroidDesignerSession.InitSession()
   at Xamarin.AndroidDesigner.AndroidDesignerSession.DoRefresh(Boolean asyncRefresh)
   at Xamarin.AndroidDesigner.AndroidDesignerSession.<Refresh>b__1f(Object )
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Thank you very much and regards

Comment 1 Lluis Sanchez 2012-09-27 13:48:17 UTC

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