Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bcdarwin opened this issue Feb 4, 2015 · 0 comments
Assignees

Comments

@bcdarwin
Copy link

bcdarwin commented Feb 4, 2015

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)
@hategan hategan self-assigned this Feb 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants