SAP Knowledge Base Article - Public

2786824 - Error when searching for Class within Program

Symptom

When Administrator opens the Class search screen from the Scheduled type Program entity this error is generated.

Error: Null object loaded from local variable 'scheduleBlockCriterion'.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. In Learning Administration > Learning Activities > Program
  2. Search for a Program

ProgramSearch.png

  1. Open the program and Edit the Agenda

ProgramAgenda.png

  1. Add Activities > Class
  2. Click 'Search for an item' to add the required Item
  3. Search for an individual Class

ProgramClass.png

  1. The error will be displayed:

4.png

Cause

This is due to a configuration setup which has activity criteria property set to true.

Resolution

  1. In Learning Administration > System Administration
  2. Configuration > Search Selectors
  3. Class > Click to edit and find "criteria.Activity.enabled"
  4. Set it to false 
  5. Apply the Changes

Keywords

Error, Null, Programs, Scheduled Offering, scheduleBlockCriterion, find, search , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-SCH , Class - Scheduled Offerings , LOD-SF-LMS-PRO , Programs , Problem

Product

SAP SuccessFactors Learning all versions