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

Nullreference Exception in Client Sample #145

Closed
onnoverschuuren opened this issue Feb 26, 2024 · 1 comment
Closed

Nullreference Exception in Client Sample #145

onnoverschuuren opened this issue Feb 26, 2024 · 1 comment

Comments

@onnoverschuuren
Copy link

Just downloaded the full solution, set client as Startup Project and run.
In line 91 of Clients.cs of the LibUA solution I get a System.NullReferenceException

config was null

Image1

VS2022

Call Stack:
TestClient.exe!TestClient.Program.Main(string[] args) Line 114
at \LibUA-master\NET\TestClient\Program.cs(114)

@nauful
Copy link
Owner

nauful commented Feb 26, 2024

Please check that TestServer is running in the background. I recommend using .NET Core instead of the old .NET as these have been deprecated and will be removed at some point.

Recommended workflow:
Start Net Core>TestServer
Start Net Core>TestClient.

@nauful nauful closed this as completed Feb 26, 2024
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