SAP Knowledge Base Article - Public

2569288 - Library search dropdown selection error "status can't be null"

Symptom

When searching for a specific item in the Library (Browse all courses) and choose a result form the drop-down (type-ahead) getting the folloing error:

Request processing failed; nested exception is java.lang.IllegalArgumentException: status can't be null
java.lang.IllegalArgumentException: status can't be null
...

Environment

SAP SuccessFactors Learning (LMS)

Reproducing the Issue

  1. Ensure the Library config enableCatalogSearchTypeAhead=true
  2. Click "Browse all courses"
  3. Search for the specific item
  4. Select an option from the type-ahead (dropdown) results and receive error

Cause

When users search for a specific item, the system is doing progressive search and trying to find the items which have these words in their title or description. System is picking an item in these results which is no longer there, but this item entry is still remaining in the catalog mapping and hence picked as part of the search results. Once it's available in search results, when system tries to determine other details of available actions for the user with regard to this ghost item, its failing to process the same and hence the error.

Resolution

You can run an audit report to see any other libraries this item was apart of and ensure it is removed or readded back to the item or more specifically check any other entitites the item was apart of like curricula and remove the library fro mthat entity if no longer used or also reapply.
If needing assistance to identify, please raise a ticket to SAP SuccessFactors Product Support and provide all the details relataed to the issue:

  • specific item being searched
  • support access
  • full error message

The Product Support team will then coordinate to find specific entry workaround or engage internal Operations team for the issue to be resolved.

An additional workaround would be to disable the type-ahead dropdown by setting enableCatalogSearchTypeAhead=false.

Keywords

SAP, sf, successfactors, lms, learning, library, all, return, type-ahead, dropdown, drop-down, null, error, search, catalog, courses, browse, status cant be null, COSD-19716, LRN-25124, SRSD-15780, INC1404544 , KBA , LOD-SF-LMS-CAT , Catalog , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning all versions

Attachments

error.JPG