[Swift-user] class not found error from swift

Mihael Hategan hategan at mcs.anl.gov
Mon Mar 9 12:19:00 CDT 2009


I added the missing file in r2671. Sorry.

On Mon, 2009-03-09 at 12:07 -0500, Zhao Zhang wrote:
> Hi,
> 
> I got an error message for a sanity test of a latest swift:
> 
> zzhang at login6.surveyor:~/new_dock6> swift first.swift
> Execution failed:
>         Fatal: Class not found: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
> 
> 
> I check out the latest code, and build it, set PATH to the right dir, 
> then I try to run this example as I usually did, but it failed.
> Below is the error message. Any ideas on this?
> 
> zhao
> 
> zzhang at login6.surveyor:~/new_dock6> cat first-20090309-1204-8ybqqe9f.log
> 2009-03-09 12:04:14,695-0500 DEBUG Loader kmlversion is 
>  >d1035a25-6ebd-404a-9b15-b03c27dc3bee<
> 2009-03-09 12:04:14,695-0500 DEBUG Loader build version is 
>  >f1b24b29-cc83-4ebd-affd-dc63ea733a1d<
> 2009-03-09 12:04:14,695-0500 INFO  Loader first.swift: source file was 
> compiled with a different version of Swift. Recompiling.
> 2009-03-09 12:04:16,665-0500 INFO  Karajan Validation of XML 
> intermediate file was successful
> 2009-03-09 12:04:16,675-0500 INFO  VariableScope New scope 663980386 
> with no parent.
> 2009-03-09 12:04:16,706-0500 INFO  VariableScope New scope 1395853665 
> with no parent.
> 2009-03-09 12:04:16,706-0500 INFO  VariableScope New scope 1358006625 
> with no parent.
> 2009-03-09 12:04:16,710-0500 INFO  VariableScope Adding variable t of 
> type messagefile to scope 1358006625
> 2009-03-09 12:04:16,845-0500 INFO  VariableScope Adding variable outfile 
> of type messagefile to scope 663980386
> 2009-03-09 12:04:16,852-0500 INFO  VariableScope thats the declaration 
> for outfile
> 2009-03-09 12:04:19,089-0500 DEBUG VDL2ExecutionContext Fatal: Class not 
> found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         kernel:elementdef @ vdl-lib.xml, line: 94
>         kernel:export @ vdl-lib.xml, line: 94
>         kernel:namespace @ vdl-lib.xml, line: 30
>         kernel:import @ vdl-lib.xml, line: 4
>         kernel:import @ scheduler.xml, line: 3
>         kernel:project @ first.kml, line: 2
>         first-20090309-1204-8ybqqe9f
> Caused by: org.globus.cog.karajan.workflow.KarajanRuntimeException: 
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:25)
>         at 
> org.globus.cog.karajan.workflow.nodes.ElementDefNode.post(ElementDefNode.java:57)
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:27)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:239)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:285)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:397)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:378)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java(Compiled Code))
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:22)
>         ... 12 more
> 
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.events.FailureNotificationEvent.<init>(FailureNotificationEvent.java:36)
>         at 
> org.globus.cog.karajan.workflow.events.FailureNotificationEvent.<init>(FailureNotificationEvent.java:42)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.failImmediately(FlowNode.java:151)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:255)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:285)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:397)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
> Caused by: org.globus.cog.karajan.workflow.KarajanRuntimeException: 
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:25)
>         at 
> org.globus.cog.karajan.workflow.nodes.ElementDefNode.post(ElementDefNode.java:57)
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:27)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:239)
>         ... 7 more
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:378)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java(Compiled Code))
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:22)
>         ... 12 more
> 2009-03-09 12:04:19,118-0500 INFO  ExecutionContext Detailed exception:
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         kernel:elementdef @ vdl-lib.xml, line: 94
>         kernel:export @ vdl-lib.xml, line: 94
>         kernel:namespace @ vdl-lib.xml, line: 30
>         kernel:import @ vdl-lib.xml, line: 4
>         kernel:import @ scheduler.xml, line: 3
>         kernel:project @ first.kml, line: 2
>         first-20090309-1204-8ybqqe9f
> Caused by: org.globus.cog.karajan.workflow.KarajanRuntimeException: 
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:25)
>         at 
> org.globus.cog.karajan.workflow.nodes.ElementDefNode.post(ElementDefNode.java:57)
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:27)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:239)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:285)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:397)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:378)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java(Compiled Code))
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:22)
>         ... 12 more
> 
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.events.FailureNotificationEvent.<init>(FailureNotificationEvent.java:36)
>         at 
> org.globus.cog.karajan.workflow.events.FailureNotificationEvent.<init>(FailureNotificationEvent.java:42)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.failImmediately(FlowNode.java:151)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:255)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:285)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:397)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
> Caused by: org.globus.cog.karajan.workflow.KarajanRuntimeException: 
> Fatal: Class not found: org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:25)
>         at 
> org.globus.cog.karajan.workflow.nodes.ElementDefNode.post(ElementDefNode.java:57)
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java(Compiled 
> Code))
>         at 
> org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:27)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)
>         at 
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:239)
>         ... 7 more
> Caused by: java.lang.ClassNotFoundException: 
> org.griphyn.vdl.karajan.lib.ThrottledParallelFor
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:378)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
>         at java.lang.Class.forName1(Native Method)
>         at java.lang.Class.forName(Class.java(Compiled Code))
>         at 
> org.globus.cog.karajan.workflow.JavaElement.<init>(JavaElement.java:22)
>         ... 12 more
> 2009-03-09 12:04:19,120-0500 DEBUG Loader Swift finished with errors
> 
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user




More information about the Swift-user mailing list