Bug 20083 - Unable to open Storyboard file in Visual Studio 2013
Summary: Unable to open Storyboard file in Visual Studio 2013
Status: RESOLVED DUPLICATE of bug 20056
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 3.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-05-28 02:42 UTC by Rensn
Modified: 2014-05-28 13:58 UTC (History)
5 users (show)

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


Attachments
Error message (16.41 KB, image/png)
2014-05-28 02:43 UTC, Rensn
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 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 20056

Description Rensn 2014-05-28 02:42:25 UTC
This week I switched from Xamarin Studio on a Mac to Visual Studio 2013 on a Windows 8.1 machine and now my Storyboard file won't open in Visual Studio 2013.

The following error message I get in Visual Studio:
--> See attachment for the image

And this are the details from the error message:
> System.AggregateException: One or more errors occurred. ---> MonoTouch.Design.Client.DesignerRemoteException: MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: request for rect of invalid section (1)
at MonoTouch.UIKit.UITableView.RectForSection (Int32 section) in /Developer/MonoTouch/Source/monotouch/src/build/compat/UIKit/UITableView.g.cs:626
at MonoTouch.Design.ServerParser.RefreshFrames (MonoTouch.Design.ProxiedView view, MonoTouch.Design.ParseContext context, Int32 contentOffset) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:784
at MonoTouch.Design.ServerParser.FixFrameRelativeToScene (MonoTouch.Design.ProxiedView model, MonoTouch.UIKit.UIView uiView, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:807
at MonoTouch.Design.ServerParser.RefreshFrames (MonoTouch.Design.ProxiedViewController model, MonoTouch.Design.ParseContext context, MonoTouch.Design.SimulatedMetricsContainer metrics) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:683
at MonoTouch.Design.ServerParser.RenderTheViewController (MonoTouch.Design.ProxiedViewController model, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:640
at MonoTouch.Design.ServerParser.RenderTheScene (MonoTouch.Design.Scene scene, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:588
at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:199
at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey2.<>m__0 () in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:143
at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey0.<>m__0 () in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:372
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning)
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning)
at MonoTouch.Design.Client.ServerProcessConnection.PostXml(DesignSession session, String xml, String[] viewsToHide)
at MonoTouch.Design.Client.ServerProcessConnection.PostXml(DesignSession session, XElement[] xml)
at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClasse.<ReloadItems>b__d(ServerProcessConnection c)
at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass79 1.<EnsureSession>b__78()
at System.Threading.Tasks.Task 1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) MonoTouch.Design.Client.DesignerRemoteException: MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: request for rect of invalid section (1)
at MonoTouch.UIKit.UITableView.RectForSection (Int32 section) in /Developer/MonoTouch/Source/monotouch/src/build/compat/UIKit/UITableView.g.cs:626
at MonoTouch.Design.ServerParser.RefreshFrames (MonoTouch.Design.ProxiedView view, MonoTouch.Design.ParseContext context, Int32 contentOffset) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:784
at MonoTouch.Design.ServerParser.FixFrameRelativeToScene (MonoTouch.Design.ProxiedView model, MonoTouch.UIKit.UIView uiView, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:807
at MonoTouch.Design.ServerParser.RefreshFrames (MonoTouch.Design.ProxiedViewController model, MonoTouch.Design.ParseContext context, MonoTouch.Design.SimulatedMetricsContainer metrics) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:683
at MonoTouch.Design.ServerParser.RenderTheViewController (MonoTouch.Design.ProxiedViewController model, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:640
at MonoTouch.Design.ServerParser.RenderTheScene (MonoTouch.Design.Scene scene, MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:588
at MonoTouch.Design.ServerParser.Parse (MonoTouch.Design.ParseContext context) in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/TypeSystem/Loader.cs:199
at MonoTouch.Design.Server.SessionController+<LoadXml>c__AnonStorey2.<>m__0 () in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/SessionController.cs:143
at MonoTouch.Design.NativeExtensions+<SafeInvokeOnMainThread>c__AnonStorey0.<>m__0 () in /Developer/MonoTouch/Source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Util/NativeExtensions.cs:372
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest(CommandRequest req, Boolean throwIfNotRunning)
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse](CommandRequest req, Boolean throwIfNotRunning)
at MonoTouch.Design.Client.ServerProcessConnection.PostXml(DesignSession session, String xml, String[] viewsToHide)
at MonoTouch.Design.Client.ServerProcessConnection.PostXml(DesignSession session, XElement[] xml)
at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClasse.<ReloadItems>b__d(ServerProcessConnection c)
at MonoTouch.Design.Client.IPhoneDesignerSession.<>c__DisplayClass79 1.<EnsureSession>b__78()
at System.Threading.Tasks.Task 1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Comment 1 Rensn 2014-05-28 02:43:00 UTC
Created attachment 6888 [details]
Error message
Comment 2 Alex Corrado [MSFT] 2014-05-28 02:57:25 UTC
Does your storyboard have a header or footer view in a UITableView with static cells?

If so, it is a known issue that was just fixed.

If not, could you share your storyboard file with us? If you add it as a private attachment on this bug it will only be visible to Xamarin engineers.

Thanks!
Comment 3 Rensn 2014-05-28 03:47:26 UTC
My storyboard has indeed a UITableView with static cells with a header and a footer.

When can I expect the update? I'm currently on the following versions: 

Xamarin for Visual Studio   2.0.122.0 (c7dfea545544d9c50575510fd4dab619f4c3a867)
Xamarin.Android   4.12.4.20 (b5dc5ce91305e19de51d71a1122c109719c4bc34)
Xamarin.iOS   2.0.122.0 (c7dfea545544d9c50575510fd4dab619f4c3a867)
Comment 4 Rensn 2014-05-28 05:03:57 UTC
My storyboard has indeed a UITableView with static cells with a header and a footer.

When can I expect the update? I'm currently on the following versions: 

Xamarin for Visual Studio   2.0.122.0 (c7dfea545544d9c50575510fd4dab619f4c3a867)
Xamarin.Android   4.12.4.20 (b5dc5ce91305e19de51d71a1122c109719c4bc34)
Xamarin.iOS   2.0.122.0 (c7dfea545544d9c50575510fd4dab619f4c3a867)
Comment 5 Alex Corrado [MSFT] 2014-05-28 13:58:03 UTC
I can't speak to the release schedule, but it should be fairly soon.

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