Error: com.google.protobuf.AbstractMessage.memoizedSize in SPS
search cancel

Error: com.google.protobuf.AbstractMessage.memoizedSize in SPS

book

Article ID: 242622

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

 

When running CA Access Gateway (SPS), when the Federation Services receives a request, the request fails with an error:

  Exception caught in class com.netegrity.affiliateminder.webservices.saml2.SSO, method doGet,
  message tried to access field com.google.protobuf.AbstractMessage.memoizedSize from class com.ca.fedprotocol.generated.cr$a. (, )

Environment

   

CA Access Gateway (SPS) 12.8SP6 on Linux;

 

Cause

 

There are still duplicated jar files on the file system which cause the error:

  Exception caught in class com.netegrity.affiliateminder.webservices.saml2.SSO, method doGet,
  message tried to access field com.google.protobuf.AbstractMessage.memoizedSize from class com.ca.fedprotocol.generated.cr$a. (, )

which is related to the protobuf jar (1).

 

Resolution

 

To solve the issue:

1. Stop CA Access Gateway (SPS);

2. On the CA Access Gateway (SPS), remove the following .jar

   /opt/CA/secure-proxy/Tomcat/webapps/chs/WEB-INF/lib:
   protobuf-java-2.4.1.jar

   /opt/CA/secure-proxy/Tomcat/webapps/affwebservices/WEB-INF/lib:
   protobuf-java-2.4.1.jar

   /opt/CA/secure-proxy/Tomcat/federation_apps/sts/webapps/WEB-INF/lib:
   protobuf-java-2.4.1.jar

3. Start CA Access Gateway (SPS);

 

Additional Information

 

(1)

    IllegalAccessError: tried to access field com.google.protobuf.AbstractMessage.memoizedSize while using KMS decrypt