It's all about the answers!

Ask a question

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

Dhinesh Palanisamy (1510) | asked Aug 03 '17, 12:14 a.m.


          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="">
<description> system definiton export</description>
<!-- initialize the system definiton tool -->
<!--target name="init"-->
      projectArea="xxxxxxxxxxxxx xxxx xxxxxx​"/>
<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 name="all" depends="export" description="final" />

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

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

Total time: 1 second

Be the first one to answer this question!

Register or 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.