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

java.lang.IllegalArgumentException: itemHandle must not be null | Facing issue while running Ant Build.

 Hi,


          While trying to export the System Definition Generator by using Ant Build, facing issue similar to java.lang.IllegalArgumentException: itemHandle must not be null, please let us know if we are missing anything.

<?xml version="1.0"?>
<project name="sysdef" default="all" xmlns:id="antlib:com.ibm.team.enterprise.zos.systemdefinition.toolkit">
<description> system definiton export</description>
<!-- initialize the system definiton tool -->
<!--target name="init"-->
   <id:init 
      repositoryAddress="https://xxxxxxxxxxxx:9443/ccm/" 
      userId="xxxxx"
      password="xxxxx" 
      projectArea="xxxxxxxxxxxxx xxxx xxxxxx​"/>
<!--/target-->
<target name="export" description="Export existing system definitions to the specified file">
     <!--id:export file="D:/fgt/exportdtl.xml"/-->
     <id:export file="D:/fgt/exporteddtl_globally.xml" global="false"/>
</target>
<target name="all" depends="export" description="final" />
</project>

Error:
Buildfile: C:\Users\workspace\Sysdef\src\def.xml

BUILD FAILED
C:\Users\workspace\Sysdef\src\def.xml:11: java.lang.IllegalArgumentException: itemHandle must not be null

Total time: 1 second

0 votes


Be the first one to answer this question!

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
× 7,495

Question asked: Aug 03 '17, 12:14 a.m.

Question was seen: 1,791 times

Last updated: Aug 03 '17, 12:14 a.m.

Confirmation Cancel Confirm