[Swift-devel] swift -typecheck gives null pointer execption
Michael Wilde
wilde at mcs.anl.gov
Tue Jul 22 00:03:42 CDT 2008
For the attached file ab1.swift, I get the error below.
I was trying to track down a different Swift problem for Alina when this
occurred. (hence the commented out code)
This was in ~wilde/testBLAST where you can find the mappers, which returned:
communicado$ ./inmapper
[0] /home/wilde/testBLAST/data/one.faa
[1] /home/wilde/testBLAST/data/three.faa
[2] /home/wilde/testBLAST/data/two.faa
communicado$ ./medmapper
[0].left /home/wilde/testBLAST/data/one.faa.left
[0].right /home/wilde/testBLAST/data/one.faa.right
[1].left /home/wilde/testBLAST/data/three.faa.left
[1].right /home/wilde/testBLAST/data/three.faa.right
[2].left /home/wilde/testBLAST/data/two.faa.left
[2].right /home/wilde/testBLAST/data/two.faa.right
communicado$
I realize medmapper is wrong and doesnt match the declared fields, but
Swift shouldnt give a NPE.
- Mike
communicado$ swift -typecheck ab1.swift
Swift svn swift-r2144 cog-r2072
RunID: 20080721-2351-dmm4uzjb
Progress:
Execution failed:
java.lang.NullPointerException
at
org.griphyn.vdl.karajan.lib.GetFieldSubscript.function(GetFieldSubscript.java:39)
at
org.griphyn.vdl.karajan.lib.VDLFunction.post(VDLFunction.java:65)
at
org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
at
org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:33)
at
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:335)
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.nodes.FlowNode.fireNotificationEvent(FlowNode.java:173)
at
org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:299)
at
org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
at
org.globus.cog.karajan.workflow.nodes.functions.Argument.post(Argument.java:45)
at
org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.childCompleted(AbstractSequentialWithArguments.java:192)
at
org.globus.cog.karajan.workflow.nodes.Sequential.notificationEvent(Sequential.java:33)
at
org.globus.cog.karajan.workflow.nodes.FlowNode.event(FlowNode.java:335)
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.nodes.FlowNode.fireNotificationEvent(FlowNode.java:173)
at
org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:299)
at
org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)
at
org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:46)
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.functions.AbstractFunction.executeChildren(AbstractFunction.java:40)
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)
communicado$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ab1.tar.gz
Type: application/x-gzip
Size: 8230 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20080722/e8be7d5c/attachment.bin>
More information about the Swift-devel
mailing list