Problem was detected with SSO authentication over Kerberos.
After the login, the user is able to navigate within the application, as long as the same browser tab is being used.
But when the user tries to open a new browser tab or reload the page (F5 hotkey), only a empty page is being returned.
The AWI shows us the following error:
2021-12-24 09:56:19,969 s-jsse-nio-8443-exec-6 [ERROR] NOSESSION/- NOUI [amework.entrypoint.ui.MainUIErrorHandler] - Terminal Error catched by ErrorHandler
java.lang.NullPointerException: null
at com.uc4.ecc.plugins.login.behaviours.kerberos.KerberosSSORequestHandler.handleRequest(KerberosSSORequestHandler.java:53)
....
at java.base/java.lang.Thread.run(Thread.java:829)
2021-12-24 09:56:19,969 s-jsse-nio-8443-exec-6 [ERROR] NOSESSION/- NOUI [ork.entrypoint.vaadin14.V14VaadinServlet] - ERROR IN SERVET
javax.servlet.ServletException: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:249)
....
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1596)
... 32 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.uc4.ecc.plugins.login.behaviours.kerberos.KerberosSSORequestHandler.handleRequest(KerberosSSORequestHandler.java:53)
... 33 common frames omitted
2021-12-24 09:56:32,440 s-jsse-nio-8443-exec-8 [ERROR] NOSESSION/- NOUI [amework.entrypoint.ui.MainUIErrorHandler] - Terminal Error catched by ErrorHandler
java.lang.NullPointerException: null
at com.uc4.ecc.plugins.login.behaviours.kerberos.KerberosSSORequestHandler.handleRequest(KerberosSSORequestHandler.java:53)
....
at java.base/java.lang.Thread.run(Thread.java:829)
2021-12-24 09:56:32,440 s-jsse-nio-8443-exec-8 [ERROR] NOSESSION/- NOUI [ork.entrypoint.vaadin14.V14VaadinServlet] - ERROR IN SERVET
javax.servlet.ServletException: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinServlet.service(VaadinServlet.java:249)
....
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vaadin.flow.server.ServiceException: java.lang.NullPointerException
at com.vaadin.flow.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1596)
... 32 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.uc4.ecc.plugins.login.behaviours.kerberos.KerberosSSORequestHandler.handleRequest(KerberosSSORequestHandler.java:53)
... 33 common frames omitted
It looks like the AWI/Engine suddenly forgot about the Kerberos session or the Kerberos authentication information is not asked again.
Sessions with username/password authentication are working perfectly, even with page reload / new tab.
Component : AUTOMATION WEB INTERFACE Release : 21.0.2
This is a Bug in AWI until version 21.0.2.
This bug will be fixed in the following AWI packs:
Automation.Engine 12.3.9 -- Available
Automation.Engine 21.0.2 HF2 -- Available
Automation.Engine 21.0.3 -- Available
A problem has been fixed where if a used had authenticated with Kerberos SSO in AWI, opening a new browser tab did not work (no content was displayed).