Unable to pair to mac Error: Object reference not set to an instance of an object

Daniel Manchester 25 Reputation points
2024-09-17T22:13:09.1233333+00:00

I am no longer able to pair to my Mac (Sonoma 14.7). Running VS 17.11.4. Log file says

Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : DateTime=2024-09-17T22

Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to DisconnectedState on Daniel’s MacBook Air (192.XXX.XX.XX): 09/17/2024 22:07:16Z

DateTime=2024-09-17T22:07:16.8844022Z: 09/17/2024 22:07:16Z
```Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.

   at Xamarin.VisualStudio.IOS.Messaging.MonoInstallationConfigurator.<ConfigureAsync>d__12.MoveNext() in D:\a\_work\1\s\src\Core\VisualStudio.IOS\Messaging\MonoInstallationConfigurator.cs:line 98

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at Xamarin.Messaging.Integration.State.ConfiguringState.<ExecuteConfiguratorsAsync>d__26.MoveNext() in D:\a\_work\1\s\src\Xamarin.Messaging.Integration\State\ConfiguringState.cs:line 504: 09/17/2024 22:07:16Z

```sql
DateTime=2024-09-17T22:07:16.8991890Z: 09/17/2024 22:07:16Z
```Xamarin.Messaging.Integration.State.ServerStateContext Error: 0 : DateTime=2024-09-

Xamarin.Messaging.Integration.State.ServerStateContext Information: 0 : Server State transition from DisconnectedState to DisconnectedState on Daniel’s MacBook Air (192.XXX.XX.XX): 09/1

Thanks for your help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,454 questions
{count} vote

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 30,916 Reputation points Microsoft Vendor
    2024-09-19T01:21:13.99+00:00

    Hello

    There is an issue reported at Github - Can't "Pair to Mac" > Problem with Xamarin Website? · Issue #24809 · dotnet/maui (github.com), and it was fixed. It appears the problem was caused by https://software.xamarin.com/service/products being down.

    Glad you solved the problem, thanks for your sharing.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.