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

Filename with Turkish Characters fails with upload error



  1. When the user is uploading a file using pega pulse uploading section they have get some errors. The user is using a Turkish locale(TTR_tr, with the file name or file path contains special Turkish character(şüçığö). 

This behavior is not consistent for all cases. 
It might be related to the hotfix combination. They have enabled Turkish locale from browser and file encoding of web-logic JVM which host the Pega server is UTF-8. 

Error Messages

Durum fail
Message caught exception java.lang.NullPointerException
Operator ID hc003461
Requestor ID HDC08507D2FE07C7EA362376A42C20DCB


Steps to Reproduce

  1. Create a following file path like below : 'C:\ğçşİİğğç öîİüûşçâ' .
  2. Copy two images to the folder and rename those like A. 'ğçşİİğğç öîİüûşçâ' B. 'şjsşçkjfdsç şçıAbc.jpg$22' .
  3. Login to below server. 
  4. Run the 'Testcase' flow.

Root Cause

Conversion to lower case changes the length of string on some locales like Turkish locale(tr_TR). 
Start and end of a itemValue are being calculated after converting original string to lower case. This is done because start and end are derived based on the itemKey which can be in any case. After calculating start and end these indices are used on original String. 
If the lengths differ there is chance of out of bounds exception


Apply HFix-30919 to resolve this issue. 
Suggest Edit

Published December 24, 2016 - 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