Bug 7481 - Visual Editor crashes
Summary: Visual Editor crashes
Status: RESOLVED DUPLICATE of bug 7149
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-09-26 15:29 UTC by tophathacker
Modified: 2012-09-27 13:48 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 DUPLICATE of bug 7149

Description tophathacker 2012-09-26 15:29:38 UTC
got an unhandled exception whenever i open a axml file in visual studio 2010


Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Stack Trace:    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.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()


-------------------------

Installed Extensions
	Mono for Android
	State	=	Enabled
	Version	=	4.2.6

	VSCommands for Visual Studio 2010
	State	=	Enabled
	Version	=	10.3.9.12



-------------------------

Environment Data
VisualStudio.Version	=	10.0
VisualStudio.Edition	=	Ultimate
VisualStudio.FullName	=	C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
VisualStudio.RegistryRoot	=	Software\Microsoft\VisualStudio\10.0
VisualStudio.LocaleId	=	1033
VisualStudio.DisplayMode	=	vsDisplayMDITabs
Time.UTC	=	9/26/2012 7:22:10 PM
Time.Local	=	9/26/2012 2:22:10 PM
OS.Architecture	=	AMD64
Environment.Version	=	4.0.30319.269
Environment.HasShutdownStarted	=	False
Environment.OSVersion.Platform	=	Win32NT
Environment.OSVersion	=	6.1.7601.65536
CurrentThread.Id	=	1
CurrentThread.Name	=	[null]
CurrentThread.ThreadState	=	Background
CurrentThread.IsBackground	=	True
CurrentThread.UICulture	=	English (United States)
CurrentThread.Culture	=	English (United States)
Process.PagedMemorySizeMB	=	307.2734375
Process.MaxWorkingSetMB	=	1.34765625
Process.NonpagedSystemMemorySizeMB	=	0.139453887939453
Process.PagedSystemMemorySizeMB	=	1.26898956298828
Process.PrivateMemorySizeMB	=	307.2734375
Process.VirtualMemorySizeMB	=	933.3046875
Process.WorkingSetMB	=	345.703125
Process.UpTime	=	00:50:28.8362395


it opens fine in monodevelop.
Comment 1 Lluis Sanchez 2012-09-27 13:48:47 UTC

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