Index: hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/JobState.java =================================================================== --- hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/JobState.java (revision 1569964) +++ hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/tool/JobState.java (working copy) @@ -166,9 +166,12 @@ */ public List getChildren() throws IOException { ArrayList children = new ArrayList(); - for (String jobid : getField("children").split(",")) { - children.add(new JobState(jobid, config)); - } + String childJobIDs = getField("children"); + if (childJobIDs != null) { + for (String jobid : childJobIDs.split(",")) { + children.add(new JobState(jobid, config)); + } + } return children; }