[Swift-user] NullPointerException while running Tutorial

Yadu Nand Babuji yadunand at uchicago.edu
Mon Oct 13 11:35:06 CDT 2014


Hi Gagan,

The tutorial that you are following is for an the 0.95* versions of 
swift. I would recommend that you use the
tutorial listed here instead : https://github.com/yadudoc/cloud-tutorials

The null pointer bug has been fixed in Swift-0.95-RC7, which you may 
download from here:
http://swift-lang.org/packages/swift-0.95-RC7.tar.gz

The tutorials for trunk, are far more tested and stable, so I would 
strongly recommend you use that
if you are from Ioan's class at IIT.

Thanks,
Yadu

On 10/13/2014 11:02 AM, Gagan Munisiddha Gowda wrote:
> Hello,
>
> I am facing issues while running through this tutorial : 
> http://swiftlang.org/tutorials/cloud/swift-cloud-tutorial.tar.gz 
> <http://swiftlang.org/tutorials/cloud/swift-cloud-tutorial.tar.gz>
>
> I have setup the coaster conf to point to my workers and head node as 
> mentioned in the docs.
>
> I see that the following error was because of a BUG (as mentioned here 
> : https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1321)
>
> Its mentioned what it has been fixed in 0.95 (which is not yet 
> released). *I am using 0.95-RC6*
> *
> *
> Looking forward for any help in resolving this issue.
>
> Following is the error:
>
> ubuntu at ip-XXX-XXX-XXX-XXX:~/swift-cloud-tutorial/part04$ swift p4.swift
> *Swift 0.95 RC6 swift-r7900 cog-r3908*
> RunID: run002
> Warning: The @ syntax for function invocation is deprecated
> Progress: Sun, 12 Oct 2014 16:52:13+0000
> *Exception in thread "Scheduler" java.lang.NullPointerException*
> at 
> org.globus.cog.abstraction.impl.common.task.TaskImpl.hashCode(TaskImpl.java:364)
> at java.util.HashMap.get(HashMap.java:317)
> at 
> org.griphyn.vdl.karajan.VDSAdaptiveScheduler.failTask(VDSAdaptiveScheduler.java:400)
> at 
> org.globus.cog.karajan.scheduler.LateBindingScheduler.run(LateBindingScheduler.java:266)
> Progress: Sun, 12 Oct 2014 16:52:14+0000 Selecting site:10
> No events in 1s.
> Finding dependency loops...
>
> Waiting threads:
> Thread: R-5x2-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-3x2, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-0-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-6-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-8-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-1-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-7-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-9-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-6, waiting on sims (declared on line 21)
> swift:execute, p4, line 70
> analyze, p4, line 211
>
> Thread: R-5-2-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> Thread: R-5-4-3, waiting on simout (declared on line 24)
> assignment, p4, line 28
>
> ----
> No dependency loops found.
>
> The following threads are independently hung:
> Thread: R-6, waiting on sims (declared on line 21)
> swift:execute, p4, line 70
> analyze, p4, line 211
>
> ----
>
> Irrecoverable error found. Exiting.
>
>
> -- 
> Regards,
> Gagan
>
>
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20141013/d8c2a5d6/attachment.html>


More information about the Swift-user mailing list