Closed hugoqribeiro closed 2 years ago
Hmm, odd. Are you sure you don't have some test that is setting the LicenseKey
on the IdentityServerOptions
somewhere? If not, then I don't see why that should throw NRE, since the internal license value is always null and thus the code should be exiting early (before line 95).
Any update @hugoqribeiro?
Closing. If you still have issues, feel free to reopen.
I'm getting the following exception when running integration tests against our server using version 6.1.0:
System.NullReferenceException : Object reference not set to an instance of an object.
The stack trace is the following:
It is not easy to reproduce and debug because it does not happen every time we run the tests.
Identity Server is configured in the integration tests using in-memory stores and the developer signing credential without any license.
Any idea of what might be causing this?