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

Spring Boot devtools reload is broken with Vaadin 13 #131

Closed
marcushellberg opened this issue Mar 19, 2019 · 5 comments
Closed

Spring Boot devtools reload is broken with Vaadin 13 #131

marcushellberg opened this issue Mar 19, 2019 · 5 comments

Comments

@marcushellberg
Copy link
Member

Setup:
Starter downloaded from vaadin.com/start, vaadin.version=13.0.1
Java 11

App

@Route
public class MainView extends VerticalLayout {

    public MainView() {
        add(new H1("hello world"));
    }
}

Problem description
Changing the app, Hello world -> Hello foo reloads OK once. On subsequent changes, the browser shows the following error message:

Could not navigate to ''
Reason: Couldn't find route for ''

Available routes:
This detailed message is only shown when running in development mode.

This error message persists even if you restart the server.

The only way to get rid of the error message that I could find was to clear the browser cookies.

@ZheSun88
Copy link
Contributor

It looks this is a bug when run the project with Java 11 only. I could not reproduce it with JDK 1.8.

@pleku
Copy link
Contributor

pleku commented Dec 17, 2019

We should take a look at this after vaadin/flow#7068 to make sure that there is no Java 11 specific issues

@denis-anisimov denis-anisimov self-assigned this Dec 18, 2019
@project-bot project-bot bot moved this from Ready To Go to In progress in OLD Vaadin Flow ongoing work (Vaadin 10+) Dec 18, 2019
@denis-anisimov
Copy link

I can't reproduce this with the latest 14.1.2 Platform skeleton starter flow.
I use Java 11 JDK 11.0.3.

@marcushellberg , could you please check the latest starter version?

@joheriks
Copy link
Contributor

joheriks commented Dec 18, 2019

Second that. Seems to work well with 14.1.2 when adding, renaming and removing routes (tested with Java 8 and 12).
vaadin/flow#7070 (comment)

@joheriks
Copy link
Contributor

joheriks commented Dec 19, 2019

Closing this issue as it is no longer reproducible.

OLD Vaadin Flow ongoing work (Vaadin 10+) automation moved this from Ready To Go to Done - pending release Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
OLD Vaadin Flow ongoing work (Vaadin ...
  
Done - pending release
Development

No branches or pull requests

5 participants