Enterprise Extension build fails with a invalid UUID error
When running an Enterprise Extension (EE) build the build fails with the following error:
com.ibm.team.repository.common.TeamRepositoryException: java.lang.IllegalArgumentException: invalid UUID []
... Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: invalid UUID []
.... Caused by: java.lang.IllegalArgumentException: invalid UUID []
... Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: invalid UUID []
.... Caused by: java.lang.IllegalArgumentException: invalid UUID []
What is causing this error?
Accepted answer
This could be caused by a missing file from the FAOperationList.xml file. Check if there is a loadFiles element in the FAOperationList.xml from the last successful build. If there is a file that should be loaded, but has been removed that may cause the error above. To resolve the problem, add a build property 'team.enterprise.build.dependency.forceFullAnalysis' and set it to 'true'. This will force a full build dependency analysis which will generate a totally new FAOperationList.xml. This should allow the build to continue working.
One other answer
I've tried the above but it does not seem to be working for me. Here are my log files for reference.
--------------------------------------------------------------------build.log-----------------------------------------------------------------
Found a user request for build definition POC Project Area Ant Ent RBA Definition
Substituted the following build property variables:
Substituted the following configuration element property variables:
Should build occur?
Yes: Always build a user initiated request.
Accepting changes into workspace "POC Workspace"...
com.ibm.team.repository.common.TeamRepositoryException: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:923)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeParticipants(BuildAgentRequestService.java:898)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:225)
at sun.reflect.GeneratedMethodAccessor842.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy951.runBuild(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.RunBuildCommandTask.transactionSucceeded(RunBuildCommandTask.java:49)
at sun.reflect.GeneratedMethodAccessor796.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy954.transactionSucceeded(Unknown Source)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:972)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:981)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:153)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:116)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:79)
at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy914.runAs(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:916)
... 22 more
Caused by: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.team.repository.common.UUID.valueOf(UUID.java:76)
at com.ibm.teamz.internal.build.preprocess.service.AbstractBuildFileGenerator.getLanguageDefinition(AbstractBuildFileGenerator.java:103)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFile(BuildableFilesGenerator.java:1010)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:970)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:958)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:958)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processProjects(BuildableFilesGenerator.java:942)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFilesWithAllPrograms(BuildableFilesGenerator.java:924)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFiles(BuildableFilesGenerator.java:773)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.generateCmds(BuildableFilesGenerator.java:295)
at com.ibm.teamz.internal.build.preprocess.service.TeamzPreprocessPreBuildAgentParticipant.generateCmds(TeamzPreprocessPreBuildAgentParticipant.java:198)
at sun.reflect.GeneratedMethodAccessor844.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy4134.generateCmds(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService$2.run(BuildAgentRequestService.java:918)
at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:75)
... 30 more
--------------------------------------------------------ServerRuntimeError.log--------------------------------------------------------
com.ibm.team.repository.common.TeamRepositoryException: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:923)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeParticipants(BuildAgentRequestService.java:898)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:225)
at sun.reflect.GeneratedMethodAccessor842.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy951.runBuild(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.RunBuildCommandTask.transactionSucceeded(RunBuildCommandTask.java:49)
at sun.reflect.GeneratedMethodAccessor796.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy954.transactionSucceeded(Unknown Source)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.transactionSucceeded(AsynchronousTaskSchedulerService.java:972)
at com.ibm.team.repository.service.internal.AsynchronousTaskSchedulerService$4.executeTask(AsynchronousTaskSchedulerService.java:981)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:153)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:116)
at java.lang.Thread.run(Thread.java:784)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:79)
at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy914.runAs(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:916)
... 22 more
Caused by: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.team.repository.common.UUID.valueOf(UUID.java:76)
at com.ibm.teamz.internal.build.preprocess.service.AbstractBuildFileGenerator.getLanguageDefinition(AbstractBuildFileGenerator.java:103)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFile(BuildableFilesGenerator.java:1010)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:970)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:958)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:958)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.processProjects(BuildableFilesGenerator.java:942)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFilesWithAllPrograms(BuildableFilesGenerator.java:924)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFiles(BuildableFilesGenerator.java:773)
at com.ibm.teamz.internal.build.preprocess.service.BuildableFilesGenerator.generateCmds(BuildableFilesGenerator.java:295)
at com.ibm.teamz.internal.build.preprocess.service.TeamzPreprocessPreBuildAgentParticipant.generateCmds(TeamzPreprocessPreBuildAgentParticipant.java:198)
at sun.reflect.GeneratedMethodAccessor844.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy4134.generateCmds(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService$2.run(BuildAgentRequestService.java:918)
at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:75)
... 30 more