Bug 23795 - Can't open the Storyboard Editor for an iOS project in Xamarin Studio 5.5 (build 227)
Summary: Can't open the Storyboard Editor for an iOS project in Xamarin Studio 5.5 (bu...
Status: VERIFIED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 5.5
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-10-13 16:59 UTC by James Roome
Modified: 2014-11-28 00:05 UTC (History)
5 users (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:
VERIFIED NORESPONSE

Description James Roome 2014-10-13 16:59:43 UTC
System.AggregateException: One or more errors occurred ---> System.IO.IOException: Read failure ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) [0x0007e] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/Socket.cs:1559 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00067] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:372 
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00078] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:374 
  at System.IO.BufferedStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00149] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/BufferedStream.cs:266 
  at MonoTouch.Design.RobustifiedStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00011] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/RobustifiedStream.cs:25 
  at System.IO.Stream.ReadByte () [0x00007] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/Stream.cs:156 
  at System.IO.BinaryReader.ReadByte () [0x00031] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/BinaryReader.cs:314 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.ReadBinaryHeader (System.IO.BinaryReader reader, System.Boolean& hasHeaders) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:265 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0003b] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:159 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:134 
  at MonoTouch.Design.Client.ServerProcessConnection+<SendRequest>c__AnonStorey0.<>m__1 (System.IO.Stream s) [0x0000e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:235 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00029] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:268 
  --- End of inner exception stack trace ---
 --> (Inner exception 0) System.IO.IOException: Read failure ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) [0x0007e] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/Socket.cs:1559 
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00067] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:372 
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00078] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:374 
  at System.IO.BufferedStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00149] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/BufferedStream.cs:266 
  at MonoTouch.Design.RobustifiedStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00011] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/RobustifiedStream.cs:25 
  at System.IO.Stream.ReadByte () [0x00007] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/Stream.cs:156 
  at System.IO.BinaryReader.ReadByte () [0x00031] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.IO/BinaryReader.cs:314 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.ReadBinaryHeader (System.IO.BinaryReader reader, System.Boolean& hasHeaders) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:265 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x0003b] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:159 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in /private/tmp/source-mono-mac-3.10.0-branch/bockbuild-mono-3.10.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.10.0/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:134 
  at MonoTouch.Design.Client.ServerProcessConnection+<SendRequest>c__AnonStorey0.<>m__1 (System.IO.Stream s) [0x0000e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:235 
  at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (System.Action`1 send, System.Action`1 recv, Boolean throwIfNotRunning) [0x00029] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.5-branch/7b721eee/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:268
Comment 1 James Roome 2014-10-13 17:01:04 UTC
Using Xcode 6.0.1 (6A317)
Comment 2 Rajneesh Kumar 2014-10-14 06:37:38 UTC
I have checked this issue and able to reproduce the reported behavior. To reproduce this issue I have followed the steps mentioned below:

1. Create an iPhone application in XS.
 C#=>iOS=>Classic API=>iPhone=>Single View Application.
2. Application will create successfully.
3. Try to open MainStoryboard.storyboard file.
4. Observe that you will get an error with title "There was a problem rendering this document".
5. Close the tab and reopen the file.
6. Observe that it open successfully .

Additional Information:I observed that the error happens for first time only. After getting error if I closed the tab and reopen MainStoryboard.storyboard file, it open successfully.  We have also filed similar bug 22743.

Error/Exception: https://gist.github.com/Rajneesh360Logica/de71214fb8b31744badf

IDE log: https://gist.github.com/Rajneesh360Logica/f1cf53b807e64770b334

iOS designer Log: https://gist.github.com/Rajneesh360Logica/5c2725fb9305ad2c5a05

Screencast: http://www.screencast.com/t/ZWVXgzdc

Environment Info:

=== Xamarin Studio ===

Version 5.5 (build 227)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
	Mono 3.10.0 ((detached/47db868)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000019

=== Apple Developer Tools ===

Xcode 6.0.1 (6528)
Build 6A317

=== Xamarin.Mac ===

Version: 1.10.0.13 (Business Edition)

=== Xamarin.Android ===

Version: 4.18.0 (Business Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: 8.2.0.193 (Business Edition)
Hash: 959c1e4
Branch: 
Build date: 2014-10-03 00:25:37-0400

=== Build Information ===

Release ID: 505000227
Git revision: 7b721eeec7a2fa4c4f4de0ecd2aed4dc25edac95
Build date: 2014-10-02 15:53:38-04
Xamarin addins: 99ed56b428b31eba1efaace4d82188d6f334e6ca

=== Operating System ===

Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 3 Alan McGovern 2014-11-11 06:00:08 UTC
James, can you attach all the log files generated by Xamarin Studio after you trigger this error. These files contain the information we need to figure out what has gone wrong. You can find them by clicking Help -> Open Log Directory
Comment 4 Alan McGovern 2014-11-27 19:14:20 UTC
If you can trigger the error and provide the corresponding log files, please re-open the bug. The files should contain the information we need to figure out what has gone wrong.
Comment 5 Rajneesh Kumar 2014-11-28 00:05:21 UTC
Today I have checked this issue with the latest stable builds and observed that user not getting any error/exception during opening MainStoryboard.storyboard file and able to open file successfully. Also observed that file gets open successfully at first time. Hence, changing the status to Verified.

@ James, Could you please check this issue with the latest stable builds and reopen it if you are still getting this Issue.

Screencast: http://www.screencast.com/t/PPd6v4ZtMdts

XS Logs: http://www.screencast.com/t/tnkt5CUsijhf

Environment Info:

=== Xamarin Studio ===

Version 5.5.4 (build 15)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
	Mono 3.10.0 ((detached/92c4884)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 310000031

=== Xamarin.Android ===

Version: 4.20.0.28 (Business Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: 8.4.0.43 (Business Edition)
Hash: 840a925
Branch: 
Build date: 2014-11-16 21:03:22-0500

=== Xamarin.Mac ===

Version: 1.10.0.18 (Business Edition)

=== Build Information ===

Release ID: 505040015
Git revision: f93940a35458a18052f1a25e106e62ca970d9c40
Build date: 2014-11-19 15:32:41-05
Xamarin addins: dc23cbd91a3a0e1d326328e1229e86c942a49ec8

=== Operating System ===

Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64