Throws java.lang.NullPointerException in Jazz Antz Build
I am a new comer to learn RTCz. I am following the guide from http://publib.boulder.ibm.com/infocenter/rtczhelp/v2r0m0/index.jsp?topic=/com.ibm.teamz.tutorial.doc/topics/tut_rtcz_prep_env.html
But when I submit the build request, I met the following error. What could I go further to find what's the root cause of this problem? Would anybody give me some advice? Thanks
The complete build log:
Found a user request for build definition AntzBuild
Substituted the following build property variables:
Substituted the following configuration element property variables:
Should build occur?
Yes: Always build a user initiated request.
java.lang.NullPointerException
at com.ibm.teamz.mapping.api.DatasetAllocation.generateAllocCmd(DatasetAllocation.java:214)
at com.ibm.teamz.mapping.api.DatasetAllocation.generateAllocCmdFromDef(DatasetAllocation.java:129)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateAllocationParameterForRegularDS(MacroDefsGenerator.java:671)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateDD(MacroDefsGenerator.java:632)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateDDs(MacroDefsGenerator.java:511)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.createMvsExec(MacroDefsGenerator.java:460)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.createMacroDef(MacroDefsGenerator.java:399)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefXmlGenerator.generateFile(MacroDefsGenerator.java:265)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator.generateCmds(MacroDefsGenerator.java:177)
at com.ibm.teamz.internal.build.preprocess.service.TeamzPreprocessPreBuildAgentParticipant.generateCmds(TeamzPreprocessPreBuildAgentParticipant.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy578.generateCmds(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:669)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeParticipants(BuildAgentRequestService.java:643)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy229.runBuild(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildRequestLookupService.lookupBuildRequestAndRun(BuildRequestLookupService.java:62)
at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy230.lookupBuildRequestAndRun(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentLoopTask.runTask(BuildAgentLoopTask.java:24)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:88)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy231.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:118)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:92)
at java.lang.Thread.run(Thread.java:811)
But when I submit the build request, I met the following error. What could I go further to find what's the root cause of this problem? Would anybody give me some advice? Thanks
Found a user request for build definition AntzBuild
Substituted the following build property variables:
Substituted the following configuration element property variables:
Should build occur?
Yes: Always build a user initiated request.
java.lang.NullPointerException
at com.ibm.teamz.mapping.api.DatasetAllocation.generateAllocCmd(DatasetAllocation.java:214)
at com.ibm.teamz.mapping.api.DatasetAllocation.generateAllocCmdFromDef(DatasetAllocation.java:129)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateAllocationParameterForRegularDS(MacroDefsGenerator.java:671)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateDD(MacroDefsGenerator.java:632)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.generateDDs(MacroDefsGenerator.java:511)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.createMvsExec(MacroDefsGenerator.java:460)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefElementGenerator.createMacroDef(MacroDefsGenerator.java:399)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator$MacroDefXmlGenerator.generateFile(MacroDefsGenerator.java:265)
at com.ibm.teamz.internal.build.preprocess.service.MacroDefsGenerator.generateCmds(MacroDefsGenerator.java:177)
at com.ibm.teamz.internal.build.preprocess.service.TeamzPreprocessPreBuildAgentParticipant.generateCmds(TeamzPreprocessPreBuildAgentParticipant.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy578.generateCmds(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeBuildParticipants(BuildAgentRequestService.java:669)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.invokeParticipants(BuildAgentRequestService.java:643)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService.runBuild(BuildAgentRequestService.java:242)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy229.runBuild(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildRequestLookupService.lookupBuildRequestAndRun(BuildRequestLookupService.java:62)
at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy230.lookupBuildRequestAndRun(Unknown Source)
at com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentLoopTask.runTask(BuildAgentLoopTask.java:24)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:88)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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 $Proxy231.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:118)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:92)
at java.lang.Thread.run(Thread.java:811)
2 answers
The exception was thrown from the code to convert a data set defintion to allocation parameters for the BPXWDYN interface.
How did you create your data set definitons? If you used the language definitions generator tool, would you double-check your data set definitions by opening them in GUI?
Tami
How did you create your data set definitons? If you used the language definitions generator tool, would you double-check your data set definitions by opening them in GUI?
Tami
Thanks, the error message disppears.
But I got another error in the Activity Starting File Agent after submit the build.
EXEC ExecPreparse
EXEC spawning shell "/bin/sh"
SCRIPT /usr/lpp/zWebSphere/V6R1/java64/J5.0_64/bin/java -classpath . -Djava.ext.dirs=/usr/lpp/zWebSphere/V6R1/java64/J5.0_64/lib/ext:/u/jecurmi/rtc2_perf/v2002GM/usr/lpp/jazz/v2.0/buildsystem/buildtoolkit com.ibm.teamz.fileagent.FileAgent loadlist https://RALNS32.rtp.raleigh.ibm.com:9445/jazz/ st100 /u/jecurmi/rtc2_perf/st100psw.txt _p7i2oCWrEd-uHu_MZsJrSg /u/sandbox BGREEN.POT /u/sandbox/fetchedFiles.xml /u/sandbox/FAOperationList.xml
EXEC start "/"@"RALNS32"
EXEC end "/"@"RALNS32"
RESULT 137
EOR
Status:ERROR
But I got another error in the Activity Starting File Agent after submit the build.
EXEC ExecPreparse
EXEC spawning shell "/bin/sh"
SCRIPT /usr/lpp/zWebSphere/V6R1/java64/J5.0_64/bin/java -classpath . -Djava.ext.dirs=/usr/lpp/zWebSphere/V6R1/java64/J5.0_64/lib/ext:/u/jecurmi/rtc2_perf/v2002GM/usr/lpp/jazz/v2.0/buildsystem/buildtoolkit com.ibm.teamz.fileagent.FileAgent loadlist https://RALNS32.rtp.raleigh.ibm.com:9445/jazz/ st100 /u/jecurmi/rtc2_perf/st100psw.txt _p7i2oCWrEd-uHu_MZsJrSg /u/sandbox BGREEN.POT /u/sandbox/fetchedFiles.xml /u/sandbox/FAOperationList.xml
EXEC start "/"@"RALNS32"
EXEC end "/"@"RALNS32"
RESULT 137
EOR
Status:ERROR