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

Unable to update last contact time for engine: null error

Hello,

I am trying to make the RTC build working, and here is the error I am seeing when I try to execute logPublisher:

Unable to update last contact time for engine: null
java.lang.NullPointerException
at com.ibm.team.build.ant.task.AbstractPublisherTask.getBuildResultHandle(AbstractPublisherTask.java:170)
at com.ibm.team.build.ant.task.AbstractPublisherTask.getBuildResult(AbstractPublisherTask.java:136)
...

Here is my build.xml line:
<logPublisher buildResultUUID="${buildResultUUID}"

repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
filePath="output.txt"
label="Deploy log" />


Any advices?

0 votes



2 answers

Permanent link
That NullPointerException is surprising. The line of code in question is:
return (IBuildResultHandle) IBuildResult.ITEM_TYPE.createItemHandle(UUID.valueOf(getBuildResultUUID()), null);

which would only generate an NPE if IBuildResult.ITEM_TYPE is null.

How is your build definition configured? Are you using the defaults for which JDK and Ant to use, or are you specifying your own? Which JDK is being used to run the build engine? Could you try using the JDK that ships with the RTC Eclipse client? See https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

If changing the JDK fixes the problem, could you please let me know which JDK or JRE you were using before?

0 votes


Permanent link
Could you also check for any errors in .log files in the buildengine/eclipse directory or buildengine/eclipse/configuration directory?

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

Question asked: Jul 08 '09, 7:38 a.m.

Question was seen: 7,223 times

Last updated: Jul 08 '09, 7:38 a.m.

Confirmation Cancel Confirm