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
Environment
- Learning Management System
- BizX
Reproducing the Issue
- Login as LMS admin
- System Admin > Tools > Direct link > Program details
- Link Output Format: URL, Learning only users: No
- Select program Id (mandatory) and
- Click Display link and copy the url
- Open new browser and paste the url
- Enter bizx login credentials.
- Url redirect user to program detail page
- Open 'new tab' and paste the same url.
- 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
- Login as LMS admin > System Admin > Configurations > System Configurations
- Edit Bizx config file
- Search for newSessionForEachDeeplinkFromBizX setting.
- 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