Forum Xamarin Xamarin.iOS

Anyone having the same Problem when trying to connect to Mac via Agent?

After providing the credentials in Mac Agent in Visual Studio this exception is thrown.

Andyone had this issue yet?

This is the first time that i give Xamarin a try and that is disappointing :(...

Starting Broker 4.0.1.89 in port 50565...
Disconnected from Mac 192.168.113.113 (192.168.113.113)
Couldn't connect to 192.168.113.113. Please try again.
[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) <0x1a0cd10 + 0x000e2> in :0
at Xamarin.Messaging.Activation.ActivationAgent.InitializeMonotouchActivation () <0x2f4c7f8 + 0x0011f> in :0
at Xamarin.Messaging.Activation.ActivationAgent+d__8.MoveNext () <0x2f4c528 + 0x001ef> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188f4e0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188ce10 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188cd70 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188cd20 + 0x0003f> in :0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x188d2d0 + 0x0001f> in :0
at Xamarin.Messaging.Client.Agent+d__39.MoveNext () <0x2e2daf8 + 0x001bb> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188f4e0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188ce10 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188cd70 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188cd20 + 0x0003f> in :0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x188d2d0 + 0x0001f> in :0
at Xamarin.Messaging.Client.Agent+d__34.MoveNext () <0x2e2c000 + 0x0025b> in :0
--- End of inner exception stack trace ---
at Xamarin.Messaging.Broker.Program.LaunchAgent (System.Func`1 launcher) <0x2bdebd8 + 0x0004f> in :0
at Xamarin.Messaging.Broker.Program.Main (System.String[] args) <0x2b2eee8 + 0x00533> in :0
---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) <0x1a0cd10 + 0x000e2> in :0
at Xamarin.Messaging.Activation.ActivationAgent.InitializeMonotouchActivation () <0x2f4c7f8 + 0x0011f> in :0
at Xamarin.Messaging.Activation.ActivationAgent+d__8.MoveNext () <0x2f4c528 + 0x001ef> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188f4e0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188ce10 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188cd70 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188cd20 + 0x0003f> in :0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x188d2d0 + 0x0001f> in :0
at Xamarin.Messaging.Client.Agent+d__39.MoveNext () <0x2e2daf8 + 0x001bb> in :0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x188f4e0 + 0x00035> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x188ce10 + 0x000b7> in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x188cd70 + 0x00087> in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x188cd20 + 0x0003f> in :0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x188d2d0 + 0x0001f> in :0
at Xamarin.Messaging.Client.Agent+d__34.MoveNext () <0x2e2c000 + 0x0025b> in :0 <---

Best Answers

Answers

  • Looking into the paths i saw that the Installation was not complete. I just restarted the Xamarin Installer on the Mac and after that everything worked as documented.

    Thank you.

Sign In or Register to comment.