Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.NullReferenceException #20

Open
ghost opened this issue Jan 17, 2017 · 2 comments
Open

System.NullReferenceException #20

ghost opened this issue Jan 17, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 17, 2017

If I start the example in a desktop app I get the following error:
foreach (var id in VirtualDesktop.GetDesktops().Select(x => x.Id)) <<<<<<<<<<<<< ! Error
{
}

System.NullReferenceException: "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."

@TorstenPr
Copy link

Same here.
Windows 10 (x64) 1703, Framework 4.6.1

var desktops = VirtualDesktop.GetDesktops();

"Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."

bei WindowsDesktop.VirtualDesktop.d__17.MoveNext()
bei System.Linq.Buffer1..ctor(IEnumerable1 source)
bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
bei WindowsDesktop.VirtualDesktop.GetDesktops()

@jcb871
Copy link

jcb871 commented Jun 30, 2017

Same issue with Stable build(1.0.3). But latest beta build(2.0.0-beta3) works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants