I am having trouble debugging a stack trace I am receiving from submitting a condor job. Actually I am submitting a job through an API that allows for Java to run Condor jobs/programs. Essentially, I can run a Java program called
TestSimple.java that contains the code to create a Condor submission file, submit it to the grid, and return any output. The submission file that is produced from running this Java program works independently of this API
i.e. I can run condor_submit on this file and it properly produces the output I want, however once I run it through my Java program things go awry.
The stack trace I get looks like:
java.lang.IllegalArgumentException
: null value for attribute Message at condor.classad.RecordExpr.insertAttribute(RecordExpr.java:130) at condor.classad.ClassAdSAXHandler.addElement(ClassAdSAXHandler.java:264) at
condor.classad.ClassAdSAXHandler.endElement(ClassAdSAXHandler:java:203) ... at java.xml.parsers.SAXParser.parse(Unknown Source) at condor.classad.ClassAdParser.parse(ClassAdParser.java
:272) at condor.classad.ClassAdParser.parse(ClassAdParser.java:297) at condorAPI.LogMonitor.readExpr(LogMonitor.java:69) at condorAPI.LogMonitor.readLog(LogMonitor.java:75)
at condorAPI.LogMonitor.run(LogMonitor.java:97) at java.lang.Thread.run(Unknown Source)
I've looked in the readExpr, readLog methods/LogMonitor class within the condorAPI [the Java API that allows for Condor to be run through Java] and everything seems to check out properly. I just don't know where the Java is trying to add an attribute called "Message" that I didn't even specify in the submit file I'm trying to create.
Any ideas, suggestions as to what could be going wrong would be greatly appreciated! Thanks!