# New Project - Fatal Unhandled Exception

**URL:** <https://forums.fusetools.com/t/new-project-fatal-unhandled-exception/4533>\
**Category:** Bug Reports\
**Created:** [October 23, 2015, 1:56am UTC](https://forums.fusetools.com/t/new-project-fatal-unhandled-exception/4533 "2015-10-23T01:56:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elliot\_Geno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/elliot_geno/32/507_2.png) [@Elliot\_Geno](https://forums.fusetools.com/u/Elliot_Geno)\
**Post date:** [October 23, 2015, 1:56am UTC](https://forums.fusetools.com/t/new-project-fatal-unhandled-exception/4533/1 "2015-10-23T01:56:24Z")

</div>

Intalled the new Fuse release (0.8.4 build 4765) and tried to run a new blank project. Got this error:

```auto
Unexpected fatal error! Please report this to us.
fuse: unhandled exception: One or more errors occurred.
  at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) [0x00014] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2168 
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00052] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3218 
  at System.Threading.Tasks.Task.Wait (TimeSpan timeout) [0x00028] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3117 
  at Outracks.TaskExtensions.GetResult[IMessagingService] (System.Threading.Tasks.Task1 task, TimeSpan timeSpan) [0x00000] in &lt;filename unknown&gt;:0 
  at Outracks.Fuse.Protocol.MessagingServiceSpawner.ConnectOrSpawn (IMessagingServiceSpawner spawner, System.String identifier, IEnumerable1 events, TimeSpan timeout, Optional1 eventFilter) [0x00000] in &lt;filename unknown&gt;:0 
  at Outracks.Fuse.Preview.PreviewWithDaemon.Preview (Outracks.Fuse.Preview.PreviewArguments argument) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/PreviewWithDaemon.cs:42 
  at Outracks.Fuse.Preview.CLI.PreviewCliCommand.RunInternal (System.String[] args) [0x0000d] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/CLI/PreviewCliCommand.cs:111 
  at Outracks.Fuse.Preview.CLI.PreviewCliCommand.Run (System.String[] args) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/CLI/PreviewCliCommand.cs:81 
Inner exception: Exception of type &#39;Outracks.Fuse.FailedToConnectToDaemon&#39; was thrown.
  at Outracks.Fuse.DaemonSpawner.ConnectForSure (IEnumerable1 messageTypes) [0x00000] in <filename unknown>:0 
  at Outracks.Fuse.DaemonSpawner.ConnectOrSpawn (IEnumerable1 messageTypes) [0x00000] in &lt;filename unknown&gt;:0 
  at Outracks.Fuse.Protocol.MessagingServiceSpawner+&lt;ConnectOrSpawn&gt;c __AnonStorey7+&lt;ConnectOrSpawn&gt;c__ async6.MoveNext () [0x00000] in &lt;filename unknown&gt;:0 
Unhandled exception: One or more errors occurred.
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---&gt; Outracks.Fuse.FailedToConnectToDaemon: Exception of type &#39;Outracks.Fuse.FailedToConnectToDaemon&#39; was thrown.
  at Outracks.Fuse.DaemonSpawner.ConnectForSure (IEnumerable1 messageTypes) [0x00000] in <filename unknown>:0 
  at Outracks.Fuse.DaemonSpawner.ConnectOrSpawn (IEnumerable1 messageTypes) [0x00000] in &lt;filename unknown&gt;:0 
  at Outracks.Fuse.Protocol.MessagingServiceSpawner+&lt;ConnectOrSpawn&gt;c __AnonStorey7+&lt;ConnectOrSpawn&gt;c__ async6.MoveNext () [0x00000] in &lt;filename unknown&gt;:0 
  --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) [0x00014] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:2168 
  at System.Threading.Tasks.Task.Wait (Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00052] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3218 
  at System.Threading.Tasks.Task.Wait (TimeSpan timeout) [0x00028] in /private/tmp/source-mono-mac-4.0.0-bug-33585-hotfix/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.4/external/referencesource/mscorlib/system/threading/Tasks/Task.cs:3117 
  at Outracks.TaskExtensions.GetResult[IMessagingService] (System.Threading.Tasks.Task1 task, TimeSpan timeSpan) [0x00000] in <filename unknown>:0 
  at Outracks.Fuse.Protocol.MessagingServiceSpawner.ConnectOrSpawn (IMessagingServiceSpawner spawner, System.String identifier, IEnumerable1 events, TimeSpan timeout, Optional1 eventFilter) [0x00000] in <filename unknown>:0 
  at Outracks.Fuse.Preview.PreviewWithDaemon.Preview (Outracks.Fuse.Preview.PreviewArguments argument) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/PreviewWithDaemon.cs:42 
  at Outracks.Fuse.Preview.CLI.PreviewCliCommand.RunInternal (System.String[] args) [0x0000d] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/CLI/PreviewCliCommand.cs:111 
  at Outracks.Fuse.Preview.CLI.PreviewCliCommand.Run (System.String[] args) [0x00000] in /Users/outracks/buildAgent1/work/b939dc4c6ac331f9/Source/Outracks.Fuse.Preview/CLI/PreviewCliCommand.cs:81 
---> (Inner Exception #0) Outracks.Fuse.FailedToConnectToDaemon: Exception of type 'Outracks.Fuse.FailedToConnectToDaemon' was thrown.
  at Outracks.Fuse.DaemonSpawner.ConnectForSure (IEnumerable1 messageTypes) [0x00000] in &lt;filename unknown&gt;:0 
  at Outracks.Fuse.DaemonSpawner.ConnectOrSpawn (IEnumerable1 messageTypes) [0x00000] in <filename unknown>:0 
  at Outracks.Fuse.Protocol.MessagingServiceSpawner+<ConnectOrSpawn>cAnonStorey7+<ConnectOrSpawn>casync6.MoveNext () [0x00000] in <filename unknown>:0 <---

```

---

<div class="post-metadata">

**Author:** ![Elliot\_Geno](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/elliot_geno/32/507_2.png) [@Elliot\_Geno](https://forums.fusetools.com/u/Elliot_Geno)\
**Post date:** [October 23, 2015, 2:07am UTC](https://forums.fusetools.com/t/new-project-fatal-unhandled-exception/4533/2 "2015-10-23T02:07:26Z")

</div>

I think I figured out what caused it. I started Fuse… it notified me an update was available. I installed the update and started Fuse. But I think the daemon was still running.

Perhaps add a process that shuts down any active fuse installs during install of a new one?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [October 23, 2015, 4:39am UTC](https://forums.fusetools.com/t/new-project-fatal-unhandled-exception/4533/3 "2015-10-23T04:39:50Z")

</div>

Thanks for reporting! Shutting down Fuse from the installer is definitely on our list of things to do. We already do it on Windows, and should do it on OS X too.
