edwardUL99 / cs4227-microservices-kernel

3 stars 1 forks source link

NullPointerException in generateID when microservices are registered. RegistrationRunner uses hostname (name of computer) rather than IP address #15

Closed edwardUL99 closed 2 years ago

edwardUL99 commented 2 years ago

When a microservice attempts to register itself, a null pointer exception is thrown in the kernel, specifically from the generateId method. Stacktrace here: MicrosoftTeams-image

Also in the RegistrationRunner, the host used was the laptop name of Kelly's laptop, it should be an IP address I believe

edwardUL99 commented 2 years ago

This has been resolved