cancel
Showing results for 
Search instead for 
Did you mean: 

JSON Parsing Error when using german letters ä, ö, ü in process definition

b_schnarr
Champ in-the-making
Champ in-the-making
When I try to model a process using activity kickstart (table-driven editor), I get a JSON Parsing error every time I use the german letters ä, ö, ü. The error occurs when I try to deploy the process or when I try to edit the process. Even though there is a german translation for the activity explorer, it is not possible to use the mentioned letters in process names or in process descriptions.

Does anyone has an idea?
14 REPLIES 14

mertagtas
Champ in-the-making
Champ in-the-making
Hi,

I am using 5.17.0 version. When i use eclipse plugin or web modeler to create process definition with special turkish characters, there is no problem to deploy process, however, when i use table editor, it causes

com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0xfc.

Actually, Table editor saves the model, however, at the deployment step, it throws above exception.

In my opinion, there is a problem while converting the WorkFlowDefinition object to byte array with utf-8 encoding, because firstly the program  converts to byte array and stores this byte array to database and then when it gets this byte array from database and converts the WorkFlowDefinition object with utf-8, it throws above exception because this byte array is not utf-8 encoded.

Do you test turkish characters with table editor?

I hope, I will express myself correctly.

Thank you for your help

vasile_dirla
Star Contributor
Star Contributor
Hi mertagtas,
It's true I tested it with explorer (web editor) but didn't test in the table editor.
Since you already investigated this issue and you are so close to a solution, don't be shy just go ahead and create a PR for it Smiley Wink

I'm sure there are community members will appreciate a fix for it.

mertagtas
Champ in-the-making
Champ in-the-making
Hi,

Ok, I'll try to solve the issue. I'll inform you about that.

Thank you

mertagtas
Champ in-the-making
Champ in-the-making
Hi,

I downloaded the latest version (5.18.1-SNAPSHOT) source code from github repo and run the unit test of JsonConverterTest with turkish characters and there was no such exceptions. Then, I deployed war file to my local development tomcat server and table editor didn't throw exceptions. Actually, it seems the problem is already solved.

Thank you.

vasile_dirla
Star Contributor
Star Contributor
Ok, that's great news.
Thank you.