Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Go panic when specifying local path to STI scripts #212

Closed
mfojtik opened this issue Jun 20, 2014 · 0 comments
Closed

Go panic when specifying local path to STI scripts #212

mfojtik opened this issue Jun 20, 2014 · 0 comments

Comments

@mfojtik
Copy link
Contributor

mfojtik commented Jun 20, 2014

[root@dev ~]# gear build https://github.com/mfojtik/sinatra-app-example openshift/ruby-
19-centos sinatra-app -s /data/src/github.com/openshift/ruby-19-centos/.sti/bin

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5560d8]

goroutine 15 [running]:
runtime.panic(0x80eb00, 0xff6668)
    /usr/lib/golang/src/pkg/runtime/panic.c:266 +0xb6
github.com/openshift/geard/sti.downloadFile(0xc210082d20, 0xc21007f6c0, 0x28, 0x0, 0x0, ...)
    /data/src/github.com/openshift/geard/sti/util.go:127 +0x88
github.com/openshift/geard/sti.func·001(0xc210082d20, 0xc21007f6c0, 0x28)
    /data/src/github.com/openshift/geard/sti/build.go:367 +0x7f
created by github.com/openshift/geard/sti.requestHandler.downloadScripts
    /data/src/github.com/openshift/geard/sti/build.go:376 +0x1ed
@mfojtik mfojtik closed this as completed Jun 20, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant