I am struggling with this issue. I created just a simple cross platform page here is XAML code:
In general, I've noticed that any syntax errors in XAML may show up as this exception.