-
Bug
-
Resolution: Obsolete
-
Major
-
4.1.1.GA
-
None
-
Workaround Exists
-
Platform JIRA for GPD-184 and GPD-98
Here are the reproduce steps but basically the same as those GPD Jiras.
1. Window->Preference, General->Workspace, change the 'Text file encoding' to "Other: UTF-8". (Default is MS932 in Japanese Windows)
2. Create a jBPM3 project. (with a sample process)
3. Set 'スタート' the name of a start-state with GPD editor.
4. Look at .simple.gpd.xml (you may need to edit Package Explorer Filter for .* resources to find the file in JBDS)
The file is written in Shift_JIS(MS932) even though it declares encoding="UTF-8".
It will cause a problem when you use jbpm-console to see the process image.
- In jbpm-console : An exception of type "org.jbpm.util.XmlException" was thrown. The message is: failed to parse xml
- In server.log : [Fatal Error] :4:15: Invalid byte 1 of 1-byte UTF-8 sequence.
GPD editor doesn't lookup the workspace settings when it generates gpd.xml.
Hard-coded "UTF-8" may be fine (the proposed patch in GPD-184)