Closed NavyaZaveri closed 5 years ago
@NavyaZaveri The vertx
instance is initialized by Vert.x as it deploys the verticle. Are you trying to create the object yourself and call start
?
Yes, I created the object myself and called start
. Didn't realize there was a separate way to deploy the verticle, thanks!
No worries!
As it stands, calling start() on a fresh instance of the Server() throws a null pointer exception because vertx is not initialized. This commit ensures that it is.