[Swift-user] NullPointerException while running Tutorial

Gagan Munisiddha Gowda ggowda at hawk.iit.edu
Mon Oct 13 11:02:46 CDT 2014


Hello,

I am facing issues while running through this tutorial : 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>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20141013/7fd327b9/attachment.html>


More information about the Swift-user mailing list