question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

macOS Mojave and System.NullReferenceException using Visual Studio 2019

See original GitHub issue

Hello, have now tried multiple different BLE libraries and in all have issues at beginning before get any further. With your library happens following

Steps to reproduce

MvvmCross: var ble = Mvx.Resolve<IBluetoothLE>(); Vanilla: var ble = CrossBluetoothLE.Current;

Expected behavior

register IBluetoothLE

Actual behavior

MvvmCross: System.NullReferenceException has been thrown Object reference not set to an instance of an object Vanilla: System.ArgumentNullException has been thrown Value cannot be null. Parameter name: obj

Configuration

Plugin: Version 2.1.1 from nuget.org macOS Mojave with latest updates (10.14.6) Device MacBook Pro 2018 Building with Visual Studio Community 2019 Target framework Xamarin Mac Modern (Have also tried Full version but same behaviour) And trying to develop application for macOS and no more code to show as stuck at beginning… any help would be appreciated 😃

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
Elimilcommented, Oct 15, 2019

And distance seems to be just mathematics 10 ^ ((Measured Power – RSSI)/(10 * N)) where N is Environmental factor in range 2-4. Little googling helps… So you library is all I need in my project. Thank you 😃

0reactions
Elimilcommented, Oct 15, 2019

Seems the problem is with system connected devices that library can’t scan those on macOS Mojave. But it is not issue in my project so i can continue with it. One neat feature would be that it could also get what is the distance for the device. then it would be perfect, well at least for my project 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

macOS Mojave and System.NullReferenceException using ...
macOS Mojave and System.NullReferenceException using Visual Studio 2019 #390 · Comments · Steps to reproduce · Expected behavior · Actual behavior.
Read more >
Visual Studio 2019 throws NullReferenceException when ...
When trying to access the “Publish Project” interface in Visual Studio 2019, VS throws a NullReferenceException: System.
Read more >
'Checking (null)' during mac OS update - Apple Community
I'm trying to upgrade from Mojave 10.14.6 on a 2019 MacBook Pro 13 inch, with 8GB memory and Intel Iris Plus graphics.
Read more >
String interpolation using $ throws System. ...
String interpolation using $ throws System.NullReferenceException on .Net7 ... In both examples are there NO values that are NULL. Any idea how to ......
Read more >
Unanswered 'visual-studio-mac' Questions
I'm trying to get the MS Bot builder samples up and running on a mac, using VS Preview. Every time I try to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found