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



Work object search is not working for a specific set of classes in global search both designer studio and user portal.

Error Messages

2017-08-18 07:22:30,575 [ PegaRULES-Batch-34] [ STANDARD] [ ] [ PegaRULES:07.10] ( ERROR - Incremental indexing of 'WORK' entries failed: Indexing request failed. Please contact your system administrator. Indexing request failed. Please contact your system administrator.
Caused by: MapperParsingException[failed to parse [ABCD]]; nested: IllegalArgumentException[Invalid format: "50A0-12-00" is malformed at "A0-12-00"];
at org.elasticsearch.index.mapper.FieldMapper.parse(
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(
at org.elasticsearch.index.mapper.DocumentParser.parseValue(
at org.elasticsearch.index.mapper.DocumentParser.parseObject(
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(
Caused by: java.lang.IllegalArgumentException: Invalid format: "50A0-12-00" is malformed at "A0-12-00"
at org.joda.time.format.DateTimeParserBucket.doParseMillis(
at org.joda.time.format.DateTimeFormatter.parseMillis(

Steps to Reproduce

Search for any available work object and then observe if it is searchable.

Root Cause

In logs there is a "MapperParsingException" for ABCD property that comes up every time even while performing re-index.

Property "ABCD " is configured as "text" and in the section used in runtime uses an autocomplete control.

But in logs somehow while generating index it is performing datetime parsing.

Ideally all the properties are created with the mapping type "string" by Elastic search API's. Mappings for property "ABCD " is incorrectly generated with type as "date".



Delete the existing indexes from the index directory and then perform reindex for the newly created mappings ("ABCD":{"type":"string","norms":{"enabled":false}},") to enable the elastic search which resolves the reported issue.
Suggest Edit

Published April 12, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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