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

NullPointerException when collecting buildable files

I got NullPointerException in the dependency build collecting buildable files step. Does anyone know how to solve this problem?


Caused by: java.lang.NullPointerException
at com.ibm.team.enterprise.zos.internal.build.preprocess.service.extension.ZosBuildableFilesUtil.getFullyQualifiedResourceName(ZosBuildableFilesUtil.java:66)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.processFile(BuildableFilesGenerator.java:1048)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:975)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.processFolder(BuildableFilesGenerator.java:971)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.processProjects(BuildableFilesGenerator.java:943)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFilesWithAllPrograms(BuildableFilesGenerator.java:903)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFiles(BuildableFilesGenerator.java:707)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.generateCmds(BuildableFilesGenerator.java:310)
at com.ibm.team.enterprise.internal.build.preprocess.service.AntDependencyPreBuildAgentParticipant.generateCmds(AntDependencyPreBuildAgentParticipant.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

0 votes



2 answers

Permanent link
I get this error when submit a dependency build with buildable set.
Can anybody help me to solve it?

Caused by: java.lang.IllegalArgumentException: invalid UUID []
at com.ibm.team.repository.common.UUID.valueOf(UUID.java:76)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.getResourceName(BuildableFilesGenerator.java:1081)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.processFilesFromBuildableSubset(BuildableFilesGenerator.java:853)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFilesWithBuildableSubset(BuildableFilesGenerator.java:770)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.populateBuildableFiles(BuildableFilesGenerator.java:710)
at com.ibm.team.enterprise.internal.build.preprocess.service.BuildableFilesGenerator.generateCmds(BuildableFilesGenerator.java:310)
at com.ibm.team.enterprise.internal.build.preprocess.service.AntDependencyPreBuildAgentParticipant.generateCmds(AntDependencyPreBuildAgentParticipant.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
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:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy5123.generateCmds(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService$3.run(BuildAgentRequestService.java:897)
at com.ibm.team.repository.service.internal.permission.ImpersonationService.runAs(ImpersonationService.java:75)

0 votes


Permanent link
I got both of the above issues solved. I found that the data set definition of the zSource Code folders become undefined reference. I have no idea how this happens. But after resetting the dataset definition. Both of the exceptions gone.

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: May 24 '12, 10:18 p.m.

Question was seen: 3,783 times

Last updated: May 24 '12, 10:18 p.m.

Confirmation Cancel Confirm