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. (, )
CA Access Gateway (SPS) 12.8SP6 on Linux;
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).
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);