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.

Error during OpenJDK 11 check: Object reference not set to an instance

See original GitHub issue

Fails every time I try it, Windows 10 Version 10.0.19043.964. All other checks and installs work fine. ‘redth.net.maui.check’ (version ‘0.4.2’)

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
☼ Recommendation: Install OpenJDK11
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

! Attempt to fix? [y/n] (y): y
» Attempting to fix: OpenJDK 1.8.0-1
  Installing Download and Install Microsoft OpenJDK 11...
Fix failed - Object reference not set to an instance of an object.

> Visual Studio 16.9.0 Checkup...
  - 16.9.4 - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community

x Skipped: Android SDK

x Skipped: Android Emulator

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
jonathanpepperscommented, May 5, 2021

VS 2019 16.10 Preview 3 and .NET 5 Preview 4 will have support for the new Microsoft OpenJDK11. Neither of these previews are actually out yet, but you can get builds for them.

The error above looks like a general problem in the maui-check tool?

1reaction
mattiascibiencommented, May 5, 2021

@bddckr I’ll forward to he OpenJDK team. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object Reference Not Set to an Instance of an Object
This infamous and dreaded error message happens when you get a NullReferenceException. This exception is thrown when you try to access a member—for...
Read more >
What does "Object reference not set to an instance of an ...
This is a very common error and can occur because of all kinds of reasons. The root cause really depends on the specific...
Read more >
Object reference not set to an instance of an object. - Forum
The message "object reference not set to an instance of an object" means that you are referring to an object the does not...
Read more >
Why doesn't "object reference not set to an instance of an ...
The NullReferenceException basically tells you: you are doing it wrong. Nothing more, nothing less. It's not a full-fledged debugging tool, ...
Read more >
Object reference not set to an instance of an object error ...
Rebuild Context process in EP fails with the error 'Object reference not set to an instance of an object'
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