You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The return value of Router.getUrl starts with / for @Route("") with a parameter. This causes UI.navigateTo to explode.
The exception is:
java.lang.IllegalArgumentException: Relative path cannot start with /
at com.vaadin.router.Location.verifyRelativePath(Location.java:314) ~[flow-server-1.0-SNAPSHOT.jar:na]
at com.vaadin.router.Location.parsePath(Location.java:276) ~[flow-server-1.0-SNAPSHOT.jar:na]
at com.vaadin.router.Location.<init>(Location.java:71) ~[flow-server-1.0-SNAPSHOT.jar:na]
at com.vaadin.ui.UI.navigateTo(UI.java:689) ~[flow-server-1.0-SNAPSHOT.jar:na]
at com.vaadin.ui.UI.navigateTo(UI.java:659) ~[flow-server-1.0-SNAPSHOT.jar:na]
The text was updated successfully, but these errors were encountered:
The return value of
Router.getUrl
starts with/
for@Route("")
with a parameter. This causesUI.navigateTo
to explode.The exception is:
The text was updated successfully, but these errors were encountered: