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

Exception when opening screen from the login screen #2749

Closed
glebfox opened this issue Mar 5, 2020 · 0 comments
Closed

Exception when opening screen from the login screen #2749

glebfox opened this issue Mar 5, 2020 · 0 comments
Assignees
Labels
state: fixed Fixed by the developer type: regression ver: 7.2.1 Fixed in version ver: 7.3.0 Fixed in version
Milestone

Comments

@glebfox
Copy link
Member

glebfox commented Mar 5, 2020

Environment

  • Platform version: 7.2.0

Description of the bug or enhancement

  • Minimal reproducible example

https://github.com/cuba-platform/sample-user-registration

  1. Update project to 7.2
  2. Start the app
  3. On the login screen click either Register or Restore password
  • Actual behavior
...
Caused by: java.lang.NullPointerException: null
	at com.haulmont.cuba.web.sys.WebUrlRouting.getStateMark(WebUrlRouting.java:337) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.web.sys.WebUrlRouting.buildNavState(WebUrlRouting.java:160) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.web.sys.WebUrlRouting.updateState(WebUrlRouting.java:129) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.web.sys.WebUrlRouting.pushState(WebUrlRouting.java:95) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.web.sys.WebScreens.changeUrl(WebScreens.java:555) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.web.sys.WebScreens.show(WebScreens.java:470) ~[cuba-web-7.2.0.jar:7.2.0]
	at com.haulmont.cuba.gui.screen.Screen.show(Screen.java:309) ~[cuba-gui-7.2.0.jar:7.2.0]
	at com.company.sample.web.screens.loginscreen.ExtLoginScreen.onRegisterBtnClick(ExtLoginScreen.java:45) ~[app-web-0.1-SNAPSHOT.jar:na]
...

Caused by: #2258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: fixed Fixed by the developer type: regression ver: 7.2.1 Fixed in version ver: 7.3.0 Fixed in version
Projects
None yet
Development

No branches or pull requests

4 participants