[Swift-user] iterate syntax

Luciano Piccoli piccoli at fnal.gov
Wed Mar 19 11:33:43 CDT 2008


Ben Clifford wrote:
>> Thanks, the iterate works now. However the following script does not work. Is
>> this case included in the nested statement blocks deprecated features from the
>> release notes?
>>     
>
> What error do you see there?
>   

Short version:
=========

-bash-3.00$ swift -tc.file tc.data simple_iterate.swift
Swift vsvn swift-r1736 cog-r1936

RunID: 20080319-1129-e2lfrmi9
Progress:
echo started
echo completed
Execution failed:
        java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)

Long version (using -d):
================
...
null
        vdl:partialclosedataset @ simple_iterate.kml, line: 60
        sys:sequential @ simple_iterate.kml, line: 54
        nested_echo @ simple_iterate.kml, line: 79
        sys:sequential @ simple_iterate.kml, line: 78
        vdl:mainp @ simple_iterate.kml, line: 77
        mainp @ vdl.k, line: 150
        vdl:mains @ simple_iterate.kml, line: 75
        vdl:mains @ simple_iterate.kml, line: 75
        rlog:restartlog @ simple_iterate.kml, line: 73
        kernel:project @ simple_iterate.kml, line: 2
        simple_iterate-20080319-1130-eytnjkp2
Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)

        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:362)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        ... 4 more
Execution failed:
        java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
Detailed exception:
null
        vdl:partialclosedataset @ simple_iterate.kml, line: 60
        sys:sequential @ simple_iterate.kml, line: 54
        nested_echo @ simple_iterate.kml, line: 79
        sys:sequential @ simple_iterate.kml, line: 78
        vdl:mainp @ simple_iterate.kml, line: 77
        mainp @ vdl.k, line: 150
        vdl:mains @ simple_iterate.kml, line: 75
        vdl:mains @ simple_iterate.kml, line: 75
        rlog:restartlog @ simple_iterate.kml, line: 73
        kernel:project @ simple_iterate.kml, line: 2
        simple_iterate-20080319-1130-eytnjkp2
Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)

        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:362)
        at 
org.globus.cog.karajan.workflow.FlowElementWrapper.event(FlowElementWrapper.java:227)
        at 
org.globus.cog.karajan.workflow.events.EventBus.send(EventBus.java:125)
        at 
org.globus.cog.karajan.workflow.events.EventBus.sendHooked(EventBus.java:99)
        at 
org.globus.cog.karajan.workflow.events.EventWorker.run(EventWorker.java:69)
Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
        at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
        at 
org.griphyn.vdl.karajan.lib.PartialCloseDataset.function(PartialCloseDataset.java:74)
        at org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
        at 
org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:51)
        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:240)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:281)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.controlEvent(FlowNode.java:393)
        at 
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:332)
        ... 4 more
Swift finished with errors





More information about the Swift-user mailing list