Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

MapperParsingException while indexing work objects of a class



When searching for any work object, records are not available for the work object. However, the work object is available in the System.

Error Messages

Type: java.lang.IllegalArgumentException
Message: Invalid format: "50L0-11-00" is malformed at "L0-11-00"


at org.joda.time.format.DateTimeParserBucket.doParseMillis(
at org.joda.time.format.DateTimeFormatter.parseMillis(
at org.elasticsearch.index.mapper.core.DateFieldMapper$DateFieldType.parseStringValue(
at org.elasticsearch.index.mapper.core.DateFieldMapper.innerParseCreateField(
at org.elasticsearch.index.mapper.core.NumberFieldMapper.parseCreateField(
at org.elasticsearch.index.mapper.FieldMapper.parse(
at (:)

Type: MapperParsingException[failed to parse [SelectedSalesAreas]]; nested

Message: IllegalArgumentException[Invalid format: "50L0-11-00" is malformed at "L0-11-00"];

Steps to Reproduce

  1. Log in to application.
  2. Search for any work object from the Case Worker portal.

Root Cause

The ElasticSearch Dynamic Template Configuration was set such that all the Dates are entered as strings. All the fields must be mapped to type String, despite their structure. For example:
  1. When the Date field has the structure 10-10-2017, where the last 4 digits is the year, the Date is type cast as a String.
  2. When a field has the structure 2H17-10-10, where the four digits (year) at the beginning includes an alpha character, the ElasticSearch property casts this as a String.
  3. When a field has the structure 2017-10-10, where the four digits at the beginning do not include an alpha character, the ElasticSearch ignores the Dynamic Template setting. It sets the field as a Date.


Apply HFix-39473.

Published February 20, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us