Skip to content

null pointer dereference executing trivial program with release-0.96-swift branch #5

Open
@bcdarwin

Description

@bcdarwin

0.95 doesn't have this problem.

$ cat borked.swift
type file;
(file out_f) foo (file in_f)
{
  out_f = in_f;
}
$ swift borked.swift
Swift 0.96-RC1 git-rev: eac769b7580b1c7d108a20923af605915da9d5ee heads/release-0.96-swift 6273
RunID: run020
Progress: Wed, 04 Feb 2015 16:38:43-0500
Progress: Wed, 04 Feb 2015 16:38:44-0500  Stage out:1

Execution failed:
java.lang.NullPointerException
        assignment @ borked, line: 5
Caused by: java.lang.NullPointerException
        at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.parse(ServiceContactImpl.java:107)
        at org.globus.cog.abstraction.impl.common.task.ServiceContactImpl.<init>(ServiceContactImpl.java:46)
        at org.griphyn.vdl.karajan.lib.FileCopier.<init>(FileCopier.java:60)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.copyNonComposite(SetFieldValue.java:344)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.deepCopy(SetFieldValue.java:260)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.deepCopy(SetFieldValue.java:233)
        at org.griphyn.vdl.karajan.lib.SetFieldValue.function(SetFieldValue.java:174)
        at org.griphyn.vdl.karajan.lib.SwiftFunction.runBody(SwiftFunction.java:77)
        at org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:175)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.user.Function.runBody(Function.java:117)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.runBody(InvocationWrapper.java:286)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:89)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.user.CBFInvocationWrapper.run(CBFInvocationWrapper.java:97)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:86)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:41)
        at org.globus.cog.karajan.compiled.nodes.restartLog.RestartLog.runBody(RestartLog.java:126)
        at org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:175)
        at org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:110)
        at org.globus.cog.karajan.compiled.nodes.FramedInternalFunction.run(FramedInternalFunction.java:82)
        at k.thr.LWThread.run(LWThread.java:247)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions