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

Errors on saving a section with the Control text area



Errors occur on saving a section with the Control text area. This occurs when the Display Character Counter is set to False. The issue occurs post upgrading to Pega 8.2.4.

Error Messages

Syntax error on token "_counter", [ expected

Syntax error on token "/", delete this token

Syntax error, insert "]" to complete ArrayAccess

Syntax error, insert ")" to complete MethodInvocation

Syntax error, insert ";" to complete LocalVariableDeclarationStatement

5 problems (5 errors)
Compile failed.

Steps to Reproduce

  1. Open the User Interface (UI) Gallery Text area's design time configuration
  2. Open Text area properties
  3. Set the Min and Max characters on the Presentation tab. The Display Character Count radio button displays
  4. Set the Display Character Count radio button to True
  5. Save the section
  6. Set the Display Character Count radio button to False
  7. Save the section

Root Cause

A defect in Pegasystems’ code or rules. Issue with generating the Span Counter of the text area.


This issue was reported as a bug to be remediated in Pega 8.2.6 patch release, Pega 8.3.2 patch release, Pega 8.4 release and Pega 8.5 release.


Suggest Edit

Published January 13, 2020 - Updated December 2, 2021

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