Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Running the jdtCompileLogPublisher task causes an exception

 When running the example PDEBuildAndJazzExample (https://jazz.net/wiki/bin/view/Main/PDEBuildAndJazzExample) on a Chinese Windows machine an error occurs during the jdtCompileLogPublisher task:


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

No such problem occurs with other languages.

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

~Spencer

0 votes


Accepted answer

Permanent link

 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.

~Spencer

Ralph Schoon selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 562

Question asked: Sep 27 '18, 9:09 a.m.

Question was seen: 1,490 times

Last updated: Sep 27 '18, 9:12 a.m.

Confirmation Cancel Confirm