You are currently reviewing an older revision of this page.
The Current User Activity tab in the Admin Console is blank. The following WARN message appears in the application server log:
WARN com.appiancorp.security.auth.activity.UserActivityFilter - Could not record user activity: secCtx=X, authDetails=AuthenticationDetails[ts=YYYY-MM-DD HH:MM:SS.MMM, entryPoint=PORTAL, clientIpAddress=XX.XX.XXX.XX, clientUserAgent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36] -- java.lang.NullPointerException
This issue can occur for the following reasons:
Ensure that the web server is using the correct connector version. Please see the following details for Apache and IIS:
The following workaround has been identified in the case that it is not possible to immediately upgrade to the latest version of Apache and mod_jk connector. There is no known workaround for IIS at this time.
SetEnvIf Server_Addr "(.*)" AJP_LOCAL_ADDR=$1
Note: This workaround mimics the fix that is implicitly included in the mod_jk version 1.2.41. This workaround should not be a permanent solution, and the recommended course of action is to upgrade both Apache and the mod_jk to the most recent version (and remove this workaround from the httpd.conf file). Leaving this workaround as a long-term solution introduces potential risks if Apache were to change the behavior in that area of the connector in the future. This could expose the environment to problems on subsequent Tomcat versions that are distributed as part of Appian releases.
This article applies to all versions of Appian.
Last Reviewed: December 2018
© 2019 Appian. All rights reserved.