Bug 44343 - Xaml forms previewer issues - Object reference not set to an instance of an object and others
Summary: Xaml forms previewer issues - Object reference not set to an instance of an o...
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Xamarin.Forms Previewer ()
Version: 6.1.0 (C8)
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: (C9)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-15 03:48 UTC by Cliff Cawley
Modified: 2017-07-09 04:00 UTC (History)
11 users (show)

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


Attachments
Sample to reproduce bug (52.14 KB, application/zip)
2016-09-15 03:48 UTC, Cliff Cawley
Details
AdditionalInfo (62.38 KB, application/zip)
2016-09-16 01:56 UTC, Cliff Cawley
Details
SampleLog after building and using the preview (4.17 KB, application/zip)
2016-09-16 02:06 UTC, Cliff Cawley
Details
BlankPreview (96.41 KB, application/zip)
2016-09-18 21:59 UTC, Cliff Cawley
Details
LatestLogsAndScreenshots (1.16 MB, application/zip)
2016-09-18 22:45 UTC, Cliff Cawley
Details
TestDerivedNewest (1.91 MB, application/zip)
2016-09-19 04:43 UTC, Cliff Cawley
Details
TestDerived3 (54.68 KB, application/zip)
2016-09-19 11:49 UTC, Cliff Cawley
Details
Fix for embedded ContentView (178.35 KB, image/png)
2016-10-21 21:08 UTC, Dominique Louis
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:
VERIFIED FIXED

Description Cliff Cawley 2016-09-15 03:48:55 UTC
Created attachment 17498 [details]
Sample to reproduce bug

# Steps to reproduce
See attached project. Open project and attempt to build.

# Expected behavior
Build works correctly. Has worked up to cycle 7.

# Actual behavior
No longer compiles, critical compile error: The 'MSBuild:UpdateDesignTimeXaml' code generator crashed: Object reference not set to an instance of an object 

# Test environment (full version information)
Xamarin Studio 6.1.5441 on Mac 10.11.6
Comment 1 Matt Ward 2016-09-15 13:17:09 UTC
Unable to reproduce the error you are seeing when building the attached sample project.

Would you be able to attach the following?

1) The IDE information (About Xamarin Studio - Show details)
2) IDE log (Help - Open Log Directory).
3) Diagnostic build output after building the project (Preferences - Projects - Build -  Log verbosity).
Comment 2 Cliff Cawley 2016-09-16 01:56:05 UTC
Created attachment 17525 [details]
AdditionalInfo

Here's the info you requsted

IdeInformation.txt
DiagnosticBuildOutput.txt

And then the ide and other logs
Comment 3 Cliff Cawley 2016-09-16 01:57:21 UTC
I've since downgraded and manually upgraded this time and the sample project now works :( - but my main project doesn't, so I've attached the logs from attempting to build it
Comment 4 Cliff Cawley 2016-09-16 02:01:01 UTC
Ah, although while the sample compiles now for me, if I open the Preview view of the sample it has 'Invalid XAML: Object reference not set to an instance of an object' at the top and it doesn't render it (iOS view). So perhaps that's how you can reproduce it now.
Comment 5 Cliff Cawley 2016-09-16 02:06:04 UTC
Created attachment 17527 [details]
SampleLog after building and using the preview

So the Ide.2016* attachment is the log when I open the project and do a Rebuild all, wait for it to finish, open the 'TestDerivedPage.xaml', open the Preview, click Build All and then the Previewer will have a null reference.

I haven't used the previewer yet in my other project because I get the null reference on building, which you can see in my build logs
Comment 6 xamarin-release-manager 2016-09-18 12:26:57 UTC
Fixed in version 6.2.0.511 (master)

Author: David Karlas??
Commit: 957fb1a75bed32aadac78e466ea3eda82765a7b7 (mono/monodevelop)
Comment 7 David Karlaš 2016-09-18 12:56:19 UTC
Actually I don't think this commit fixed this...

Cliff, can you try this new build(see link below) and see if you still have this problem? If you have, message "The 'MSBuild:UpdateDesignTimeXaml' code generator crashed: Object reference not set to an instance of an object " should now also contain stacktrace of exception which will help us better understand problem.

Link: https://bosstoragemirror.blob.core.windows.net/wrench/monodevelop-lion-master/95/957fb1a75bed32aadac78e466ea3eda82765a7b7/XamarinStudio-6.2.0.511.dmg
Comment 8 Cliff Cawley 2016-09-18 21:51:39 UTC
It looks like the compile error has been fixed, so I can build the project now!

However the Preview view is empty in one of my projects:

The Xamarin Studio log has the following lines of note, not sure if they're related:

WARNING [2016-09-19 07:48:56Z]: Couldn't create custom class component `XLabs.Forms.Controls.DynamicListViewRenderer`1'. Error: The '`' character, hexadecimal value 0x60, cannot be included in a name.
ERROR [2016-09-19 07:49:12Z]: Error while updating status of command: UXDivers.Artina.Player.Addins.PlayerCommands.ProjectPadChangeTarget
System.NullReferenceException: Object reference not set to an instance of an object
  at UXDivers.Artina.Player.Addins.ProjectPadChangeTargetHandler.Update (MonoDevelop.Components.Commands.CommandInfo info) [0x00006] in <2cf0f9cf5469497080ab9f462c473b5f>:0 
  at MonoDevelop.Components.Commands.CommandHandler.InternalUpdate (MonoDevelop.Components.Commands.CommandInfo info) [0x00000] in /Users/builder/data/lanes/432/957fb1a7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultUpdateCommandInfo (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info) [0x00079] in /Users/builder/data/lanes/432/957fb1a7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1530 
  at MonoDevelop.Components.Commands.CommandManager.GetCommandInfo (System.Object commandId, MonoDevelop.Components.Commands.CommandTargetRoute targetRoute) [0x001cf] in /Users/builder/data/lanes/432/957fb1a7/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1495 
WARNING [2016-09-19 07:49:21Z]: Couldn't create custom class component `XLabs.Forms.Controls.DynamicListViewRenderer`1'. Error: The '`' character, hexadecimal value 0x60, cannot be included in a name.
Comment 9 Cliff Cawley 2016-09-18 21:55:53 UTC
I just tested the sample project I uploaded with this bug and it no longer has compile errors and no errors show up in the preview, however the preview shows up completely blank (I'll attach screenshots so you can see what I mean)

I tried creating a blank ContentView that doesn't derive from another class and it also doesn't render in the Preview.

So while this build seems to have fixed the null reference build issue (in both the sample and my real world project), the xaml previewer is now broken in both projects. I don't seen any errors/warnings in the logs other than those in my previous comment though.
Comment 10 Cliff Cawley 2016-09-18 21:59:43 UTC
Created attachment 17570 [details]
BlankPreview
Comment 11 Cliff Cawley 2016-09-18 22:21:18 UTC
After a bit more use I did notice the following error in the logs:

ERROR [2016-09-19 07:46:02Z]: Couldn't render Android XAML
System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.MonoDroid.Designer.IdeDesignerProject.GetEvaluatedPathProperty (System.String name, System.Boolean isStoredAsAbsolutePath) [0x00000] in /Users/builder/data/lanes/432/957fb1a7/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Designer/IdeDesignerProject.cs:149 
  at Xamarin.AndroidDesigner.DesignerProject.get_HasSourceAssemblies () [0x00000] in /Users/builder/data/lanes/432/957fb1a7/source/md-addins/MonoDevelop.MonoDroid/Xamarin.AndroidDesigner/Xamarin.AndroidDesigner/DesignerProject.cs:1225 
  at Xamarin.Designer.Forms.Preview.AndroidXamlRenderer+<EnsureSessionIsReady>c__async0.MoveNext () [0x000c3] in /Users/builder/data/lanes/432/957fb1a7/source/md-addins/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/Android/AndroidXamlRenderer.cs:67 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:113 
  at Xamarin.Designer.Forms.Preview.AndroidXamlRenderer+<RenderOneXaml>c__async1.MoveNext () [0x00029] in /Users/builder/data/lanes/432/957fb1a7/source/md-addins/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/Android/AndroidXamlRenderer.cs:81 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in /private/tmp/source-mono-4.6.0/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:357 
  at Xamarin.Designer.Forms.Preview.AndroidXamlRenderer+<RenderXamls>c__async2.MoveNext () [0x00071] in /Users/builder/data/lanes/432/957fb1a7/source/md-addins/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/Android/AndroidXamlRenderer.cs:132
Comment 12 Cliff Cawley 2016-09-18 22:45:32 UTC
Created attachment 17572 [details]
LatestLogsAndScreenshots

Looks like with all the upgrading and downgrading I forgot to upgrade the Xamarin.Forms packages with this latest update. I've now upgraded them as well and If I switch between the Android and iOS previews I do see errors in the view but they don't seem to be showing up in the logs.

I've attached screenshots so you can see the errors in the view as well as the latest logs
Comment 13 Cliff Cawley 2016-09-18 22:56:33 UTC
Sorry for all the comment spam, it just seems to be slightly different each run through I do :(

I've just spent some more time with the previewer since I've never had much luck with it.

The blankness that I was referring to before seems to happen when you first open the view. If I toggle between iOS/Android it remains blank, unless I pause for about 5-10 seconds, after which it now seems to render the view if derived from ContentPage. (So I guess it's loading while it's blank)

If I do the same on the subclassed ContentPage though, that's where I see 'Invalid XAML: Object reference not set to an instance of an object'. It remains as I toggle between Android/iOS preview buttons.

So the initial compile error has been fixed, it's just the previewer that remains broken.

I've monitored the logs during this and the only additional error I saw was:

INFO [2016-09-19 08:52:34Z]: 
INFO [2016-09-19 08:52:34Z]: Native stacktrace:
INFO [2016-09-19 08:52:34Z]: 
INFO [2016-09-19 08:52:34Z]: 	0   libmonosgen-2.0.dylib               0x00000001286b86ba mono_handle_native_sigsegv + 282
INFO [2016-09-19 08:52:34Z]: 	1   libmonosgen-2.0.dylib               0x00000001286034ed mono_sigsegv_signal_handler + 189
INFO [2016-09-19 08:52:34Z]: 	2   libsystem_platform.dylib            0x00007fff96a6652a _sigtramp + 26
INFO [2016-09-19 08:52:34Z]: 	3   ???                                 0x0000000111a87ac0 0x0 + 4591221440
INFO [2016-09-19 08:52:34Z]: 	4   ???                                 0x00000001115ae114 0x0 + 4586135828
INFO [2016-09-19 08:52:34Z]: 	5   ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	6   ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	7   ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	8   ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	9   ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	10  ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 	11  ???                                 0x00000001115ae2bd 0x0 + 4586136253
INFO [2016-09-19 08:52:34Z]: 
INFO [2016-09-19 08:52:34Z]: =================================================================
INFO [2016-09-19 08:52:34Z]: Got a SIGSEGV while executing native code. This usually indicates
INFO [2016-09-19 08:52:34Z]: a fatal error in the mono runtime or one of the native libraries 
INFO [2016-09-19 08:52:34Z]: used by your application.
INFO [2016-09-19 08:52:34Z]: =================================================================
Comment 14 Cliff Cawley 2016-09-19 04:43:37 UTC
Created attachment 17574 [details]
TestDerivedNewest

I've updated the sample I had to show the current issues I have.

Open the TestDerived.sln and then do a full rebuild to ensure everything is up to date.

1) Open 'Test1View.xaml' and wait for the preview to update, it will display the error 'Invalid XAML: Position 1:288. Type local:TestContentView not found in xmlns clr-namespace:TestDerived'

2) Open 'Test2View.xaml' and wait for the preview to update, it will display the error 'Invalid XAML: Object reference not set to an instance of an object'

The logs from this session are included in the attached zip
Comment 15 David Karlaš 2016-09-19 11:15:47 UTC
I'm reassigning this to Xamarin Forms Previewer. Since remaining problem is there(See Comment 14, also check workaround below which should help at fixing bug)...

I think original problem was solved by upgrading Xamarin.Forms to latest version...
My fix only fixes if .xaml file is in iOS project which is very rare...

@Cliff I found workaround for you... Change local namespace to:
xmlns:local="clr-namespace:TestDerived;assembly=TestDerived"

Notice added ;assembly=TestDerived.
Comment 16 Cliff Cawley 2016-09-19 11:49:18 UTC
Created attachment 17583 [details]
TestDerived3

Thanks David. Hurray for morphing bugs... :(

I've updated the sample with TestDerived3 because I found another issue in the mean time:

Invalid XAML: Position 8:50. StaticResource not found for key StyleFadeShadowPiece

If you open up Test1View now and attempt to preview iOS you get the above. The Android preview also sometimes shows up blank, other times will show up just the text (The fake show lines are missing, perhaps it's not reporting the error like the iOS preview is)

Test2View still exhibits the Object reference not set to an instance of an object error
Comment 18 Dominique Louis 2016-10-21 21:08:49 UTC
Created attachment 18174 [details]
Fix for embedded ContentView

Latest master build should contain a fix so that you see the attached screenshot.
Note I had to change the colour of the text to get it to display.
Comment 19 Dominique Louis 2016-10-21 21:25:53 UTC
@kyle as mentioned above the above sample should preview in master now, as per attached screenshot.
Comment 23 dag vilmar tveit 2017-01-04 11:23:53 UTC
Hey i also have problems with the previewer. iOS works fine but android dosnt on alpha channel xamarin studio on mac

getting this in the log

INFO [2017-01-06 12:13:06Z]: 4 [monodroid] SWITCHING CONTEXT
ERROR [2017-01-06 12:13:06Z]: The renderer encountered an error while rendering this file: 
INFO [2017-01-06 12:13:06Z]: 4 [monodroid] SWITCHING CONTEXT
INFO [2017-01-06 12:13:06Z]: INFO: Trying to load class md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView
INFO [2017-01-06 12:13:06Z]: 
INFO [2017-01-06 12:13:06Z]: 4 [monodroid] SWITCHING CONTEXT
ERROR [2017-01-06 12:13:06Z]: The renderer encountered an error while rendering this file: 
INFO [2017-01-06 12:13:06Z]: 4 [monodroid] SWITCHING CONTEXT
INFO [2017-01-06 12:13:06Z]: INFO: Trying to load class md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView
INFO [2017-01-06 12:13:06Z]: 
INFO [2017-01-06 12:13:06Z]: 4 [monodroid] SWITCHING CONTEXT
ERROR [2017-01-06 12:13:06Z]: The renderer encountered an error while rendering this file: 
ERROR [2017-01-06 12:13:13Z]: 
MonoTouch.Design.Client.InvalidSessionException: Session invalid
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x000c5] in /Users/builder/data/lanes/4010/3e8b559b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:280 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00000] in /Users/builder/data/lanes/4010/3e8b559b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:285 
  at MonoTouch.Design.Client.ServerProcessConnection.RenderXamls (MonoTouch.Design.DesignSession session, MonoTouch.Design.XamlRenderContext context) [0x00037] in /Users/builder/data/lanes/4010/3e8b559b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:181 
  at Xamarin.Designer.Forms.Preview.iOSXamlRenderer+<RenderXamls>c__async0+<RenderXamls>c__AnonStorey1.<>m__0 (MonoTouch.Design.Client.ServerProcessConnection c) [0x00000] in /Users/builder/data/lanes/4010/3e8b559b/source/md-addins/Xamarin.Designer.Forms/Xamarin.Designer.Forms.Preview/iOS/iOSXamlRenderer.cs:58 
  at MonoTouch.Design.Client.IPhoneDesignerSession+<EnsureSession>c__AnonStorey34`1[TResult].<>m__0 () [0x0012d] in /Users/builder/data/lanes/4010/3e8b559b/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:1949
Comment 24 Brendan Zagaeski (Xamarin Team, assistant) 2017-01-11 00:43:09 UTC
## Note for cross-referencing for Comment 23

For any users who might come across this bug report in the future when searching related to similar symptoms, see Bug 45264 starting at Bug 45264, Comment 7 for additional follow-up on Comment 23.
Comment 25 Cliff Cawley 2017-01-13 05:52:37 UTC
@BrendanZagaeski - All I get when viewing 45264 is "You are not authorized to access bug #45264."
Comment 26 Brendan Zagaeski (Xamarin Team, assistant) 2017-01-13 18:52:55 UTC
Ah, indeed that bug is marked as non-public.  The summary is that the error message in Comment 23 is fairly generic.  Newer versions of the Xamarin.Forms previewer fix that issue (public Bug 51214) to surface more descriptive underlying exceptions.  So new bug reports should be opened with those more complete exceptions (along with a test case if possible, plus as many other details as possible [1]) for any future issues with the Xamarin.Forms Previewer.  Thanks in advance!

[1] https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/howto-file-bug/
Comment 27 Cliff Cawley 2017-01-13 21:34:16 UTC
Awesome, thanks!
Comment 28 Stanley Broo 2017-05-29 11:03:35 UTC
Still same with the previewer...when will Xamarin be stable?

VS2017 proffessional , latest updates Xamarin updater. All SDK installed for Android...

Trying to load class md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView

HOrrible Error on screen, no designer still after 18months of waiting :(

Live player ..not working either, this and that exceptions

Normal UWP templates and WPF works like a charm.
Comment 29 Daniel Little 2017-07-09 04:00:00 UTC
Also seeing the issue, Page worked, added a label, tried to refresh, error.

```
Trying to load class md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView

mono.android.DesignerException: java.lang.UnsatisfiedLinkError
	at mono.android.DesignerException.fromThrowable(DesignerException.java:46)
	at mono.android.DesignerSession.checkRenderResultForError(DesignerSession.java:187)
	at mono.android.DesignerSession.load(DesignerSession.java:239)
	at mono.android.DesignerSession.processMessage(DesignerSession.java:702)
	at mono.android.MessageListener.executeMessage(MessageListener.java:88)
	at mono.android.MessageListener$Runner.run(MessageListener.java:44)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView.n_onMeasure(II)V
	at md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView.n_onMeasure(Native Method)
	at md5e940e1e778de0f856e343395a2f338c5.XFPageRendererView.onMeasure(XFPageRendererView.java:54)
	at android.view.View.measure(View.java:19734)
	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6120)
	at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
	at android.view.View.measure(View.java:19734)
	at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
	at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
	at android.view.View.measure(View.java:19734)
	at com.android.layoutlib.bridge.impl.RenderSessionImpl.measureView(RenderSessionImpl.java:589)
	at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:342)
	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
	at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:368)
	at mono.android.DesignerSession.load(DesignerSession.java:233)
	... 4 more
```