It's all about the answers!

Ask a question

Running the jdtCompileLogPublisher task causes an exception

Spencer Murata (2.3k115971) | asked Sep 27 '18, 9:09 a.m.

 When running the example PDEBuildAndJazzExample ( on a Chinese Windows machine an error occurs during the jdtCompileLogPublisher task:

[jdtCompileLogPublisher] XML 解析错误:在“2”行找到“1 字节 UTF-8 序列的无效字节 1。”

No such problem occurs with other languages.

What is causing the error and how can we avoid it?


Accepted answer

permanent link
Spencer Murata (2.3k115971) | answered Sep 27 '18, 9:12 a.m.

 The problem is the Windows date format for the Chinese OS is by default Chinese.  This causes the compile logs to add a comment to the xml that is formatted with the Chinese characters which are not UTF-8.  This causes the XML parser to fail to read the compile logs.

To fix the problem set the date formate under Region and Langauge to English and the compile log should format with English comments which are parseable by the jdtCompileLogPublisher task.


Ralph Schoon selected this answer as the correct answer

Your answer

Register or to post your answer.