I think you are missing a variable that you are referencing in your PgeConfig.xml. Can you please put up a paste.bin and send the link?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Adjunct Associate Professor, Computer Science Department University of Southern California Los Angeles, CA 90089 USA Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----Original Message----- From: Saurabh Damodar Patwardhan <[email protected]> Date: Sunday, November 2, 2014 at 3:19 PM To: Chris Mattmann <[email protected]> Subject: Error while executing CAS-PGE >Hi Professor, > > >I am trying to execute the CASPGE example and have added appropriate jars >in workflow and resource manager directories. But I am facing an issue in >the batch stub when I try to run the file concatenation example: > > >SEVERE: PGETask FAILED!!! : Failed to build PgeConfig : Failed to parse >value: null >java.io.IOException: Failed to build PgeConfig : Failed to parse value: >null >at >org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeCon >figBuilder.java:87) >at >org.apache.oodt.cas.pge.PGETaskInstance.createPgeConfig(PGETaskInstance.ja >va:230) >at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:123) >at org.apache.oodt.cas.workflow.structs.TaskJob.execute(TaskJob.java:102) >at >org.apache.oodt.cas.resource.system.extern.XmlRpcBatchStub$RunnableJob.run >(XmlRpcBatchStub.java:229) >at java.lang.Thread.run(Thread.java:745) >Caused by: java.lang.Exception: Failed to parse value: null >at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:501) >at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:480) >at >org.apache.oodt.cas.pge.config.XmlFilePgeConfigBuilder.build(XmlFilePgeCon >figBuilder.java:77) > >Caused by: java.lang.NullPointerException >at java.util.regex.Matcher.getTextLength(Matcher.java:1234) >at java.util.regex.Matcher.reset(Matcher.java:308) >at java.util.regex.Matcher.<init>(Matcher.java:228) >at java.util.regex.Pattern.matcher(Pattern.java:1088) >at >org.apache.oodt.cas.metadata.util.PathUtils.doDynamicDateToMillisReplaceme >nt(PathUtils.java:321) >at >org.apache.oodt.cas.metadata.util.PathUtils.doDynamicReplacement(PathUtils >.java:96) >at org.apache.oodt.cas.pge.util.XmlHelper.fillIn(XmlHelper.java:488) > > > > > >Please let me know, if I am doing anything incorrect. > >Warm Regards, >Saurabh Patwardhan >Masters in Computer Science >University of Southern California > > > > >
