<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Tim, I saw the same problem. The similar problem I reported occurred when I tried a simpler script to test basic sanity. I thought they were related but apparently not.<div><br></div><div>- Mike</div><div><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">P.S.  I am doing a clean build from the the latest svn versions of swift and cog<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 4:33 PM, Tim Armstrong <span dir="ltr"><<a href="mailto:tim.g.armstrong@gmail.com" target="_blank">tim.g.armstrong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've run into a different problem...<br><br>Swift fails with the following exception:<br>
<br>Execution failed:<br>        java.lang.NullPointerException<br>        at org.globus.cog.karajan.Optimizer.optimize0(Optimizer.java:36)<br>
        at org.globus.cog.karajan.Optimizer.optimize(Optimizer.java:28)<br>        at org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:207)<br>        at org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:192)<br>

        at org.globus.cog.karajan.workflow.nodes.ExecuteFile.post(ExecuteFile.java:128)<div class="im"><br>        at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
</div>
        at org.globus.cog.karajan.workflow.nodes.ExecuteFile.completed(ExecuteFile.java:155)<div class="im"><br>        at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>        at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>

        at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>        at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>        at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>

        at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>        at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>        at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>

        at org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>        at org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>        at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>        at java.lang.Thread.run(Thread.java:619)<br>

<br></div>Time: 0.535, rate: 30624 j/s<br><br>Nothing really appears in the logs:<br>2011-02-07 16:32:22,668-0600 DEBUG Loader Loader started<br><font color="#888888"><br><br>- Tim</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 12:54 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov" target="_blank">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Should be fixed now.<br>
<div><div></div><div><br>
On Mon, 2011-02-07 at 10:03 -0800, Mihael Hategan wrote:<br>
> Ooops. I didn't get any emails over the weekend (well, it seems I did,<br>
> but my otherwise reliable email notification didn't work). So I'm a bit<br>
> behind.<br>
><br>
> Mihael<br>
><br>
> On Fri, 2011-02-04 at 14:44 -0600, Michael Wilde wrote:<br>
> > Im getting strange errors from trunk at the moment from previously working scripts. Seemed to be unable to parse sites.xml.<br>
> ><br>
> > In the process of debugging this, I find that I cant get the simplest of swift scripts (a single trace statement) to run.<br>
> ><br>
> > Is anyone else encountering similar problems?<br>
> ><br>
> > Here's what I get:<br>
> ><br>
> > com$ cat hi.swift<br>
> > trace("hi");<br>
> > com$ java -version<br>
> > java version "1.6.0_20"<br>
> > Java(TM) SE Runtime Environment (build 1.6.0_20-b02)<br>
> > Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)<br>
> > com$ swift -version<br>
> > Swift svn swift-r4061 cog-r3046<br>
> ><br>
> > com$ swift hi.swift<br>
> > Swift svn swift-r4061 cog-r3046<br>
> ><br>
> > RunID: 20110204-1439-j430gp9g<br>
> > Progress:  time:0<br>
> > Execution failed:<br>
> >         1 names specified; 0 arguments found<br>
> > Time: 1.179, rate: 13896 j/s<br>
> > com$ cat hi.xml<br>
> > <program xmlns="<a href="http://ci.uchicago.edu/swift/2009/02/swiftscript" target="_blank">http://ci.uchicago.edu/swift/2009/02/swiftscript</a>"<br>
> >          xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
> >          xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>"><br>
> >   <call proc="trace" src="line 1"><br>
> >     <input><stringConstant>hi</stringConstant></input><br>
> >   </call><br>
> > </program><br>
> > com$<br>
> ><br>
> > com$ cat *9g.log<br>
> > 2011-02-04 14:39:29,205-0600 DEBUG Loader Max heap: 238616576<br>
> > 2011-02-04 14:39:29,206-0600 DEBUG Loader kmlversion is >a1ce0de8-81e9-4226-987a-0bbcb40af008<<br>
> > 2011-02-04 14:39:29,207-0600 DEBUG Loader build version is >a1ce0de8-81e9-4226-987a-0bbcb40af008<<br>
> > 2011-02-04 14:39:29,207-0600 DEBUG Loader Recompilation suppressed.<br>
> > 2011-02-04 14:39:29,343-0600 INFO  VDL2ExecutionContext Stack dump:<br>
> > Level 1<br>
> > [iA = 0, iB = 0, bA = false, bB = false]<br>
> >         vdl:instanceconfig = Swift configuration []<br>
> >         vdl:operation = run<br>
> >         swift.home = /home/wilde/swift/rev/trunk/bin/..<br>
> >         PATH_SEPARATOR = /<br>
> ><br>
> ><br>
> > 2011-02-04 14:39:29,900-0600 INFO  unknown Using sites file: /home/wilde/swift/rev/trunk/bin/../etc/sites.xml<br>
> > 2011-02-04 14:39:29,928-0600 INFO  unknown Using tc.data: /home/wilde/swift/rev/trunk/bin/../etc/tc.data<br>
> > 2011-02-04 14:39:30,023-0600 INFO  AbstractScheduler Setting resources to: {localhost=localhost}<br>
> > 2011-02-04 14:39:30,468-0600 INFO  unknown Swift svn swift-r4061 cog-r3046<br>
> ><br>
> > 2011-02-04 14:39:30,469-0600 INFO  unknown RUNID id=run:20110204-1439-j430gp9g<br>
> > 2011-02-04 14:39:30,511-0600 DEBUG VDL2ExecutionContext 1 names specified; 0 arguments found<br>
> > 1 names specified; 0 arguments found<br>
> ><br>
> >         at org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)<br>
> >         at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> >         at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> >         at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> >         at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> >         at org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> >         at org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> >         at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> >         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br>
> >         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br>
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> >         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>
> >         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>
> >         at java.lang.Thread.run(Thread.java:619)<br>
> > 2011-02-04 14:39:30,522-0600 INFO  ExecutionContext Detailed exception:<br>
> > 1 names specified; 0 arguments found<br>
> ><br>
> >         at org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)<br>
> >         at org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> >         at org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> >         at org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> >         at org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> >         at org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> >         at org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> >         at org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> >         at org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> >         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br>
> >         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br>
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> >         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>
> >         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>
> >         at java.lang.Thread.run(Thread.java:619)<br>
> > 2011-02-04 14:39:30,522-0600 INFO  Loader Swift finished with errors<br>
> > com$<br>
> ><br>
> ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Swift-devel mailing list<br>
> <a href="mailto:Swift-devel@ci.uchicago.edu" target="_blank">Swift-devel@ci.uchicago.edu</a><br>
> <a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
<br>
<br>
_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu" target="_blank">Swift-devel@ci.uchicago.edu</a><br>
<a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</blockquote><br><span><br><br>-- <br><span name="x"></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br><span name="x"></span><br></span></div></div></body></html>