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

check namespace for null #2067

Merged
merged 1 commit into from
Mar 16, 2022
Merged

check namespace for null #2067

merged 1 commit into from
Mar 16, 2022

Conversation

SimonCropp
Copy link
Contributor

@SimonCropp SimonCropp commented Mar 16, 2022

https://docs.microsoft.com/en-us/dotnet/api/system.type.namespace?view=net-6.0

Namespace: The namespace of the Type; null if the current instance has no namespace or represents a generic parameter.

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

System.NullReferenceException
Object reference not set to an instance of an object.
   at Microsoft.Playwright.Transport.Connection.WrapApiCallAsync[T](Func`1 action, Boolean isInternal) in /_/src/Playwright/Transport/Connection.cs:line 443
   at Microsoft.Playwright.Transport.Channels.Root.InitializeAsync() in /_/src/Playwright/Transport/Channels/Root.cs:line 47
   at Microsoft.Playwright.Playwright.CreateAsync() in /_/src/Playwright/Playwright.cs:line 52
   at PlaywrightFixture.InitializeAsync() in C:\Code\Verify.HeadlessBrowsers\src\Tests\PlaywrightFixture.cs:line 22
   at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 90

@mxschmitt mxschmitt merged commit ca605a3 into microsoft:main Mar 16, 2022
@SimonCropp SimonCropp deleted the check-namespace-for-null branch March 17, 2022 07:30
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

Successfully merging this pull request may close these issues.

2 participants