Error Object reference not set to an instance of an object when trying to authenticate using the RSA Authentication Agent 2.0 for AD FS
4 years ago
Originally Published: 2021-05-21
Article Number
000043159
Applies To
RSA Product Set:  SecurID
RSA Product/Service Type:  Authentication Agent for AD FS
RSA Version/Condition:  2.0.2
Issue
Per relying party MFA is setup and logins work with Firefox and Internet Explorer. Whereas authentications fail when logging in through Chrome and Edge browsers.

Following error seen with the RSA Authentication Agent 2.0.2 for AD FS when using the agent for two factor authentication over chrome and Edge browsers..
                  Object reference not set to an instance of an object

Following error is noticed on the ADFS server.

Event id 364: System.NullReferenceException: Object reference not set to an instance of an object.

The log snipped below is from the rsa_adfs.log, located by default in C:\Program Files\RSA\RSA Authentication Agent\AD FS MFA Adapter\logs
2021-05-05 16:42:41,562 [23] ERROR AuthSessionAdapter - Exception occurred: ActivityId = 200f48ce-626b-4a8c-0500-0080010000bd
System.NullReferenceException: Object reference not set to an instance of an object.
   at RSA.Authentication.FederationServices.AuthSessionAdapter.TryEndAuthentication(IAuthenticationContext context, IProofData data, HttpListenerRequest request, Claim[]& outgoingClaims)
2021-05-05 16:42:41,562 [23] ERROR AuthnAdapter - TryEndAuthentication: Exception occurred: ActivityId = 200f48ce-626b-4a8c-0500-0080010000bd
System.NullReferenceException: Object reference not set to an instance of an object.

 
Resolution
Issue has been logged under AAADFS-225 and is resolved with 2.0.4 
Upgrade the ADFS agent to version 2.0.4