cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Modeler has troubles with german 'Umlaute'

pcs
Champ in-the-making
Champ in-the-making
While modeling a smapüle workflow i encountered an error while saving.

Modeler´s error message:

Some exceptions are raised while trying to save your diagram. Please try again. If the problem resides, please contact the Signavio Support via the envelope symbol in the toolbar.

Apache error log:

[Fatal Error] Umlaute.signavio.xml:5:505: Invalid byte 1 of 1-byte UTF-8 sequence.
org.json.JSONException: A JSONObject text must begin with '{' at character 0
        at org.json.JSONTokener.syntaxError(Unknown Source)
        at org.json.JSONObject.<init>(Unknown Source)
        at org.json.JSONObject.<init>(Unknown Source)
        at com.signavio.editor.handler.EditorHandler.getJSONString(EditorHandler.java:378)
        at com.signavio.editor.handler.EditorHandler.doGet(EditorHandler.java:112)
        at com.signavio.platform.servlets.DispatcherServlet.dispatch(DispatcherServlet.java:125)
        at com.signavio.platform.servlets.DispatcherServlet.doGet(DispatcherServlet.java:167)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.signavio.platform.filters.ParseParametersFilter.doFilter(ParseParametersFilter.java:92)

while digging around in the "Umlaute.signavio.xml" at column 505 i found

"properties":{"name":"Pr�fung","

which schould be "Prüfung".

If I change "Prüfung" to "Pruefung" i can save the workflow.

The problem is reproduceable. Just make a new Workflow, Insert a task an name it "Prüfung". Saving will fail.
I have attached my sample files.

My environment is the beta2 sample download.

Kind regards
Philipp Eichhorn
2 REPLIES 2

saatsch
Champ in-the-making
Champ in-the-making
Hi Philip,

as I suggested http://forums.activiti.org/en/viewtopic.php?f=3&t=208&p=721&hilit=umlauts#p721 you have to type (in Windows)

set JAVA_OPTS=%JAVA_OPTS% -Dfile.encoding=UTF-8
then start activiti tomcat.

After that it works, if you don't use an already non UTF-8 file

frederikherema1
Star Contributor
Star Contributor
This will de default in the next release.

Thanks for the feedback!