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

RoutingContext.vertx() returns null after reroute #632

Closed
enrcor01 opened this issue May 17, 2017 · 0 comments
Closed

RoutingContext.vertx() returns null after reroute #632

enrcor01 opened this issue May 17, 2017 · 0 comments

Comments

@enrcor01
Copy link

Version

  • vert.x core: 3.4.1
  • vert.x web: 3.4.1

Context

I need to redirect inside my application to create some kind of state machine based on handlers.
But when I try to delay the execution of the next context after rerouting using
ctx.vertx().setTimer(500, t -> ctx.next());

RoutingContext.vertx() returns null.

Any idea why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant