End users could not login to the Automic Saas Instance, after clicking in the Icon, AWI would throw a Null Pointer Error causing JWP to create Force Traces.
JWP force traces:
20200908/154024.558 - 30 ----------------------- Stack Trace -----------------------
20200908/154024.558 - 30 java.lang.NullPointerException
20200908/154024.558 - 30 at com.automic.aiops.impl.AiopsUserCreationService.createOrGetUser(AiopsUserCreationService.java:80)
20200908/154024.558 - 30 at com.automic.aiops.impl.AiopsUserCreationService.createOrUpdateUser(AiopsUserCreationService.java:62)
20200908/154024.558 - 30 at com.automic.aiops.impl.AiopsLoginMessageHandler.verifyAccessToken(AiopsLoginMessageHandler.java:109)
20200908/154024.558 - 30 at com.automic.aiops.impl.AiopsLoginMessageHandler.handleMessage(AiopsLoginMessageHandler.java:67)
20200908/154024.558 - 30 at com.automic.kernel.impl.NATDispatcher.dispatch(NATDispatcher.java:47)
In PWP log:
20200907/122818.638 - U00011852 Logoff ' ' ('AUTOMIC/AUTOMIC'), client: '0100' (Connection='*CP002#00000231').
20200907/124038.403 - U538976288 ??? " Automic Web Interf"
20200907/124038.446 - U00011800 Disconnect User: Cannot find user '*CP001#00000041' in the table AKT-USER.
20200907/124039.800 - U538976288 ??? " Automic Web Interf"
20200907/124039.835 - U00011800 Disconnect User: Cannot find user '*CP001#00000042' in the table AKT-USER.
20200907/124049.107 - U538976288 ??? " Automic Web Interf"
20200907/124049.143 - U00011800 Disconnect User: Cannot find user '*CP001#00000043' in the table AKT-USER.
20200907/124109.113 - U538976288 ??? " Automic Web Interf"
20200907/124109.149 - U00011800 Disconnect User: Cannot find user '*CP001#00000044' in the table AKT-USER.
20200907/124131.471 - U00003234 Logon error: Access denied. (Connection='*CP001#00000045', host = 'awi-6fcc64d98d-b6hfg')
20200907/124131.512 - U00011800 Disconnect User: Cannot find user '*CP001#00000045' in the table AKT-USER.
20200907/124137.959 - U00003234 Logon error: Access denied. (Connection='*CP001#00000046', host = 'awi-6fcc64d98d-b6hfg')
20200907/124137.996 - U00011800 Disconnect User: Cannot find user '*CP001#00000046' in the table AKT-USER.
20200907/124139.961 - U00003234 Logon error: Access denied. (Connection='*CP001#00000047', host = 'awi-6fcc64d98d-b6hfg')
20200907/124139.998 - U00011800 Disconnect User: Cannot find user '*CP001#00000047' in the table AKT-USER.
20200907/124149.518 - U00003234 Logon error: Access denied. (Connection='*CP001#00000048', host = 'awi-6fcc64d98d-b6hfg')
20200907/124151.559 - U00011800 Disconnect User: Cannot find user '*CP001#00000048' in the table AKT-USER.
20200907/124158.400 - U00003234 Logon error: Access denied. (Connection='*CP001#00000049', host = 'awi-6fcc64d98d-b6hfg')
20200907/124201.448 - U00011800 Disconnect User: Cannot find user '*CP001#00000049' in the table AKT-USER.
Release : 12.5.x and superior
Component : AUTOMATION ENGINE
The AIOPS back-end did not provide an email address during a login, which is a required parameter and this caused an exception in the JWP during the login generating a Null Pointer on Automic side as this case ( empty / missing email) was not handled to throw an error.
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation.Engine
Automation.Engine 12.7.0 - Planned release in February 2021
Solution description:
Proper verification of the email field and human-readable error explaining the cause will be printed in the WP logs if the email is missing:
Message-Text (E): E-Mail adress is missing for the user.
Message-Text (D): Keine E-Mail Adresse in den Benutzerdaten definiert.