I put these annotations before the MainUI class:
@EnableAsync
@Push(PushMode.MANUAL)
Because I have a place in code where I want to use UI.push.
My current problem is that there is a NullPointerException in atmosphere when doing getCookies.
This is called by “Cookie cookies = VaadinService.getCurrentRequest().getCookies();”
How can I get a working app with push that also allows me to get cookies?