It's all about the answers!

Ask a question

java.lang.IllegalArgumentException: Malformed \uxxxx encoding error for rational build agent build


Richar Cai (171916) | asked Sep 05 '17, 11:01 a.m.

 Dear Team,


I am writing to seek your help on below issue. Thank you.
I create a build definition and build engine and request a build in RTC 6.0.4 Eclipse client, and then encounter the error.
The build engine type is "Rational Build Agent";
The build definition type is "Rational Build Agent Definition".

The error message is as below:
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Properties.java:615)
at java.util.Properties.load0(Properties.java:417)
at java.util.Properties.load(Properties.java:332)
at com.ibm.rational.buildforge.buildagent.internal.service.AgentSocketClient.parseAgentProperties(AgentSocketClient.java:738)
at com.ibm.rational.buildforge.buildagent.internal.service.AgentSocketClient.getEnvVars(AgentSocketClient.java:654)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.collectBuildAgentProperties(BuildAgentRequestService.java:773)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:300)
at sun.reflect.GeneratedMethodAccessor1026.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy1748.runBuild(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.RunBuildCommandTask.transactionSucceeded(RunBuildCommandTask.java:52)
at sun.reflect.GeneratedMethodAccessor595.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy1751.transactionSucceeded(Unknown Source)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:1082)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:1092)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:195)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:142)
at java.lang.Thread.run(Thread.java:809)


Comments
Richar Cai commented Sep 05 '17, 11:05 a.m. | edited Sep 06 '17, 3:09 a.m.

 The properties in the build engine and the build definition are as following:

<?xml version="1.0" encoding="UTF-8"?>
<BuildProperties>
<BuildProperty kind="com.ibm.team.build.property.string" name="artifactoryDeployUserId" value="deployer"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="artifactoryPublisherToolPath" value="C:\BuildServerRoot"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="baseLoadDir" value="d:\UAT_TEST\ws"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="filterScript" value="C:\BuildServerRoot\FilterKeyWord.jar"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="ftpScript" value="C:\BuildServerRoot\ftpScript.pl"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="JAZZ_PASSWORD_FILE" value="D:\RTC-BuildSystem-Toolkit-Win64-6.0.4\jazz\buildsystem\buildengine\eclipse\myRTC604Passwd.txt"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="JAZZ_USER" value="IB80210"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="JBE_COMMAND" value="D:\RTC-BuildSystem-Toolkit-Win64-6.0.4\jazz\buildsystem\buildengine\eclipse\jbe.exe"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="JBE_WORKING_DIR" value="D:\RTC-BuildSystem-Toolkit-Win64-6.0.4\jazz\buildsystem\buildengine\eclipse"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="readTimeout" value="60"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="RequestBuildSonar" value="C:\BuildServerRoot\RequestBuildWithParameterApp.pl"/>
<BuildProperty kind="com.ibm.team.build.property.string" name="setEnvironment" value="set JAVA_HOME=C:\PROGRA~1\Java\jdk1.7.0_51&amp;&amp;set path=C:\PROGRA~1\Java\jdk1.7.0_51\bin;C:\PROGRA~1\Java\jdk1.7.0_51\lib;%path%"/>
</BuildProperties>

Be the first one to answer this question!


Register or to post your answer.