<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Gagan,<br>
<br>
The tutorial that you are following is for an the 0.95* versions of
swift. I would recommend that you use the <br>
tutorial listed here instead :
<a class="moz-txt-link-freetext" href="https://github.com/yadudoc/cloud-tutorials">https://github.com/yadudoc/cloud-tutorials</a><br>
<br>
The null pointer bug has been fixed in Swift-0.95-RC7, which you may
download from here:<br>
<a class="moz-txt-link-freetext" href="http://swift-lang.org/packages/swift-0.95-RC7.tar.gz">http://swift-lang.org/packages/swift-0.95-RC7.tar.gz</a><br>
<br>
The tutorials for trunk, are far more tested and stable, so I would
strongly recommend you use that<br>
if you are from Ioan's class at IIT.<br>
<br>
Thanks,<br>
Yadu<br>
<br>
<div class="moz-cite-prefix">On 10/13/2014 11:02 AM, Gagan
Munisiddha Gowda wrote:<br>
</div>
<blockquote
cite="mid:CAGYVvuULONFVAhNQHHqDZ2pJjvsmnhgKeg4MU5OQ_fEoTDS9Jw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am facing issues while running through this tutorial : <span
class="" style="font-family:Monaco,Menlo,Consolas,'Courier
New',monospace;font-size:13px;line-height:16.25px;white-space:pre-wrap;color:rgb(0,0,0)">http</span><span
class="" style="font-family:Monaco,Menlo,Consolas,'Courier
New',monospace;font-size:13px;line-height:16.25px;white-space:pre-wrap;color:rgb(102,102,0)">:</span><span
class="" style="font-family:Monaco,Menlo,Consolas,'Courier
New',monospace;font-size:13px;line-height:16.25px;white-space:pre-wrap;color:rgb(136,0,0)">//<a
moz-do-not-send="true"
href="http://swiftlang.org/tutorials/cloud/swift-cloud-tutorial.tar.gz">swiftlang.org/tutorials/cloud/swift-cloud-tutorial.tar.gz</a></span></div>
<div><span class=""
style="font-family:Monaco,Menlo,Consolas,'Courier
New',monospace;font-size:13px;line-height:16.25px;white-space:pre-wrap;color:rgb(136,0,0)"><br>
</span></div>
<div><font color="#333333" face="Helvetica Neue, Helvetica,
Arial, sans-serif"><span style="line-height:16.25px">I have
setup the coaster conf to point to my workers and head
node as mentioned in the docs.</span></font><br>
</div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px"><br>
</span></div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">I
see that the following error was because of a BUG (as
mentioned here : </span><a moz-do-not-send="true"
href="https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1321"
target="_blank"
style="color:rgb(60,124,192);text-decoration:none;font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1321</a><span
style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">)</span><br>
</div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px"><br>
</span></div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Its
mentioned what it has been fixed in 0.95 (which is not yet
released). <b>I am using 0.95-RC6</b></span><span
style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px"><br>
</span></div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px"><b><br>
</b></span></div>
<div><span style="color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Looking
forward for any help in resolving this issue.</span></div>
<div><br>
</div>
<div>Following is the error:</div>
<div><br>
</div>
<div>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">ubuntu@ip-XXX-XXX-XXX-XXX:~/swift-cloud-tutorial/part04$
swift p4.swift <br>
<strong>Swift 0.95 RC6 swift-r7900 cog-r3908</strong><br>
RunID: run002<br>
Warning: The @ syntax for function invocation is deprecated<br>
Progress: Sun, 12 Oct 2014 16:52:13+0000<br>
<strong>Exception in thread "Scheduler"
java.lang.NullPointerException</strong><br>
at
org.globus.cog.abstraction.impl.common.task.TaskImpl.hashCode(TaskImpl.java:364)<br>
at java.util.HashMap.get(HashMap.java:317)<br>
at
org.griphyn.vdl.karajan.VDSAdaptiveScheduler.failTask(VDSAdaptiveScheduler.java:400)<br>
at
org.globus.cog.karajan.scheduler.LateBindingScheduler.run(LateBindingScheduler.java:266)<br>
Progress: Sun, 12 Oct 2014 16:52:14+0000 Selecting site:10<br>
No events in 1s.<br>
Finding dependency loops...</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Waiting
threads:<br>
Thread: R-5x2-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-3x2, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-0-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-6-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-8-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-1-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-7-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-9-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-6, waiting on sims (declared on line 21)<br>
swift:execute, p4, line 70<br>
analyze, p4, line 211</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-2-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Thread:
R-5-4-3, waiting on simout (declared on line 24)<br>
assignment, p4, line 28</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">----<br>
No dependency loops found.</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">The
following threads are independently hung:<br>
Thread: R-6, waiting on sims (declared on line 21)<br>
swift:execute, p4, line 70<br>
analyze, p4, line 211</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">----</p>
<p style="margin:0px 0px
2px;word-break:break-word;min-height:15px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:16.25px">Irrecoverable
error found. Exiting.</p>
<div><br>
</div>
-- <br>
<div dir="ltr">Regards,
<div>Gagan</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Swift-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a></pre>
</blockquote>
<br>
</body>
</html>