Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin Studio fails to launch

$
0
0

Hi,

When launching Xamarin Studio on OSX it fails to launch. I've downloaded a fresh DMG from: http://monodevelop.com/Download

but this is the error I am getting:

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Console ---> System.ArgumentException: handle
Parameter name: Invalid.
  at System.IO.FileStream..ctor (IntPtr handle, FileAccess access, Boolean ownsHandle, Int32 bufferSize, Boolean isAsync, Boolean isZeroSize) [0x000fb] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System.IO/FileStream.cs:116 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (intptr,System.IO.FileAccess,bool,int,bool,bool)
  at System.Console.Open (IntPtr handle, FileAccess access, Int32 bufferSize) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Console.cs:225 
  at System.Console.OpenStandardInput (Int32 bufferSize) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Console.cs:258 
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x000cc] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Console.cs:180 
  at System.Console..cctor () [0x000a8] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.1/mcs/class/corlib/System/Console.cs:143 
  --- End of inner exception stack trace ---
  at MonoDevelop.Core.Logging.ConsoleLogger.Log (LogLevel level, System.String message) [0x00102] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Logging/ConsoleLogger.cs:85 
  at MonoDevelop.Core.LoggingService.Log (LogLevel level, System.String message) [0x0002d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs:234 
  at MonoDevelop.Core.LoggingService.LogWarning (System.String message) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core/LoggingService.cs:280 
  at MonoDevelop.Ide.Gui.GLibLogging.LoggerMethod (System.String logDomain, LogLevelFlags logLevel, System.String message) [0x00088] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/GLibLogging.cs:252 
  at MonoDevelop.Ide.Gui.GLibLogging+Log.<LogFuncTrampoline>m__141 (System.String domain, LogLevelFlags level, System.String message, MonoDevelop.Ide.Gui.LogFunc user_data) [0x00005] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/GLibLogging.cs:100 
  at (wrapper native-to-managed) MonoDevelop.Ide.Gui.GLibLogging/Log:<LogFuncTrampoline>m__141 (intptr,MonoDevelop.Ide.Gui.GLibLogging/LogLevelFlags,intptr,MonoDevelop.Ide.Gui.GLibLogging/LogFunc)
  at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
  at Gtk.Application.do_init (System.String progname, System.String[]& args, Boolean check) [0x00000] in <filename unknown>:0 
  at Gtk.Application.Init (System.String progname, System.String[]& args) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x000a8] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:102 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args) [0x00086] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:533

I should also mention that the Xamarin Studio Installer is also not working - it gives me this error:

[2013-08-28 09:28:39.538] [Info] Installation ID: d6975193-7fd8-4097-a8a2-c8a4439aa513
[2013-08-28 09:28:39.544] [Info] Operating system: Mac OS X v10.8.4 (10.8.4; Mac OS X 10.8.4 (10.8.4 build version: 12E55)), 32-bit
[2013-08-28 09:28:39.544] [Info] Installer product: Xamarin
[2013-08-28 09:28:39.544] [Info] Installer version: 3.0.0.36009
[2013-08-28 09:28:39.544] [Debug] Forcing manifest from resources
[2013-08-28 09:28:39.544] [Info] Status: in progress
[2013-08-28 09:28:41.155] [Debug] Waiting for manifests to finish downloading.
[2013-08-28 09:28:41.155] [Debug] Initial task executing (WaitingForActivation). Waiting for it to finish.
[2013-08-28 09:28:42.463] [Info] Retrieving installation manifest.
[2013-08-28 09:28:42.463] [Info] Installation manifest: reading from assembly.
[2013-08-28 09:28:42.463] [Info] Retrieving installation size manifest.
[2013-08-28 09:28:42.463] [Info] Installation size manifest: reading from assembly.
[2013-08-28 09:28:42.463] [Warning] Failed to import payload sizes. Size calculations will not be performed.
[2013-08-28 09:28:42.463] [Info] Exception was: System.TypeInitializationException (An exception was thrown by the type initializer for System.Console)
[2013-08-28 09:28:42.463] [Info] Determining list of software items to install.
[2013-08-28 09:28:42.564] [Info] Status: failed.
[2013-08-28 09:28:42.564] [Exception] Initial task interrupted by exception
[2013-08-28 09:28:42.564] [Exception] System.AggregateException: One or more errors occured ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Console ---> System.ArgumentException: handle
[2013-08-28 09:28:42.564] [Exception] Parameter name: Invalid.
[2013-08-28 09:28:42.564] [Exception] at System.IO.FileStream..ctor (IntPtr handle, FileAccess access, Boolean ownsHandle, Int32 bufferSize, Boolean isAsync, Boolean isZeroSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (intptr,System.IO.FileAccess,bool,int,bool,bool)
[2013-08-28 09:28:42.564] [Exception] at System.Console.Open (IntPtr handle, FileAccess access, Int32 bufferSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console.OpenStandardInput (Int32 bufferSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console..cctor () [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] --- End of inner exception stack trace ---
[2013-08-28 09:28:42.564] [Exception] at Mono.Xml.XPath.XPathParser..ctor (IStaticXsltContext context) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathExpression.Compile (System.String xpath, IXmlNamespaceResolver nsResolver, IStaticXsltContext ctx) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathExpression.Compile (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathNavigator.Compile (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XmlNode.SelectNodes (System.String xpath, System.Xml.XmlNamespaceManager nsmgr) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XmlNode.SelectNodes (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at Xamarin.Web.Installer.InstallationSizes.FillFromXML (System.String xml) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] --- End of inner exception stack trace ---
[2013-08-28 09:28:42.564] [Exception] at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Threading.Tasks.Task.Wait (CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at Xamarin.Web.Installer.TasksManager.WaitForTask (System.Threading.Tasks.Task task, System.String taskName) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] --> (Inner exception 0) System.TypeInitializationException: An exception was thrown by the type initializer for System.Console ---> System.ArgumentException: handle
[2013-08-28 09:28:42.564] [Exception] Parameter name: Invalid.
[2013-08-28 09:28:42.564] [Exception] at System.IO.FileStream..ctor (IntPtr handle, FileAccess access, Boolean ownsHandle, Int32 bufferSize, Boolean isAsync, Boolean isZeroSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (intptr,System.IO.FileAccess,bool,int,bool,bool)
[2013-08-28 09:28:42.564] [Exception] at System.Console.Open (IntPtr handle, FileAccess access, Int32 bufferSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console.OpenStandardInput (Int32 bufferSize) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Console..cctor () [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] --- End of inner exception stack trace ---
[2013-08-28 09:28:42.564] [Exception] at Mono.Xml.XPath.XPathParser..ctor (IStaticXsltContext context) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathExpression.Compile (System.String xpath, IXmlNamespaceResolver nsResolver, IStaticXsltContext ctx) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathExpression.Compile (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XPath.XPathNavigator.Compile (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XmlNode.SelectNodes (System.String xpath, System.Xml.XmlNamespaceManager nsmgr) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at System.Xml.XmlNode.SelectNodes (System.String xpath) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.564] [Exception] at Xamarin.Web.Installer.InstallationSizes.FillFromXML (System.String xml) [0x00000] in <filename unknown>:0
[2013-08-28 09:28:42.565] [Debug] Detection complete on the introduction page, determining the next step.

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>