SAP Knowledge Base Article - Public

2453252 - Learning: Program direct link error if if open in new tab and user has active session

Symptom

  • NullPointerException when opening program direct link in new tab and user session is already active
  • Error: java.lang.NullPointerException: while trying to invoke the method com.plateausystems.elms.bo.program.api.valueobject.ProgramVO.getProgramSysGUID() of a null object loaded from local variable 'prgVO' when accessing program deeplink in new tab
  • Program deeplink inconsistent behavior: Java error

JavaError.JPG

Environment

  • Learning Management System
  • BizX

Reproducing the Issue

  1. Login as LMS admin
  2. System Admin > Tools > Direct link > Program details
  3. Link Output Format: URL, Learning only users: No
  4. Select program Id (mandatory) and  
  5. Click Display link and copy the url
  6. Open new browser and paste the url
  7. Enter bizx login credentials. 
  8. Url redirect user to program detail page
  9. Open 'new tab' and paste the same url.
  10. Java error thrown

Cause

  • newSessionForEachDeeplinkFromBizX is set to false
  • This setting is used to sync the session management between BizX and LMS .
  • By default this setting is set to false however we recommend to set this config to true to avoid related issue (accesssing LMS from BizX, various CDP areas)

Resolution

  1. Login as LMS admin > System Admin > Configurations > System Configurations
  2.  Edit Bizx config file
  3.  Search for newSessionForEachDeeplinkFromBizX setting.
  4. Change newSessionForEachDeeplinkFromBizX=false  TO newSessionForEachDeeplinkFromBizX=true

Keywords

program direct link, program deep link, program deeplink java error, java error direct link, nullpointer exception deeplink , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem

Product

SAP SuccessFactors HCM Core 1702