SAP Knowledge Base Article - Public

2640807 - Access Denied Error or Unexpected failure when trying to see user profile - Employee Profile

Symptom

When trying to access user profile the below error is displayed:

The requested operation is not available.
This problem is due to the following reason(s):
Access Denied Error or Unexpected failure.

Environment

SAP SuccessFactors People Profile

Reproducing the Issue

  1. Click In Home Page;
  2. Go to Employee Profile;
  3. On the Person Dropdown, search for an user;
  4. The error is displayed;

    errorKBA.PNG

Cause

This issue can be caused by corrupted data in the photo field, specially if it happens after doing a batch upload of photos, or adding new employee.

Resolution

For the resolution of this issue, please submit an case to our portal, informing the users that provide the error as well as the error timestamp so that a script can be created to fix this.

This part of the Resolution is reserved by Support Engineers:

When searching in the splunk error logs, search for the below error:

  1. at com.successfactors.edu.dao.oracle.OracleEmployeeProfileDAO.updatePhoto(OracleEmployeeProfileDAO.java:7614)
  2. RuntimeException caught while executing service com.successfactors.edu.service.profile.GetEDUPhoto java.lang.ArrayIndexOutOfBoundsException: while trying to load from index -1 of an object array with length 0, loaded from field java.util.ArrayList.elementData of an object loaded from local variable 'this' at java.util.ArrayList.elementData(ArrayList.java:405) at java.util.ArrayList.get(ArrayList.java:418) at com.successfactors.edu.service.profile.impl.GetRandomExpressivePhotoImpl.execute(GetRandomExpressivePhotoImpl.java:97) at com.successfactors.edu.service.profile.impl.GetRandomExpressivePhotoImpl.execute(GetRandomExpressivePhotoImpl.java:1)

Error 1: an operations internal ticket will be needed to clean corrupted data in the photo table. Internal ticket for reference is added in internal memo.

Error 2: you may check the photos and configuration relating to expressive photo, KBA 2402885, make sure the user was able to assign a photo or there is one uploaded to be assigned.

Keywords

Application Error, PP3, People profile, Photo, Profile Photo, Employee Photo, Picture, The requested operation is not available., This problem is due to the following reason(s):, Access Denied Error or Unexpected failure., Problem , KBA , LOD-SF-EP-UI , People Profile UI (PP3 UI) , LOD-SF-EP-PHO , Photo Management , Problem

Product

SAP SuccessFactors HCM Suite all versions