Whitelabel Error Page during Live Reload after upgrading to 22.2.0

Heya, since we upgraded our application to version 22.2.0 we always get a weird error when Live Reload is triggered as you can see in the attachment…

We use Spring Security for Auth but with a pretty minimal configuration:

public class SecurityConfiguration
        extends VaadinWebSecurity {

    public PasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();

    protected void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests().antMatchers("/images/**", "/icons/**").permitAll();

        setLoginView(http, LoginV.class);

Why is this error happening and how can we prevent it ?

Have you tried without any security just to see that the problem is indeed related to security?