allen-servedio commented on issue #740: Segfault when root package is not 
   Okay, sorry @mrutkows for wasting your time with a terrible example. I have 
pushed a public repo that you can use to reproduce the error. I used the the 
version of wskdeploy that is in your current master branch.
   Go ahead and do this:
   git clone
   cd wskdeploy-defect-740/defect-740
   wskdeploy -v -m manifest.yaml
   And you will get this failure:
   Info: action [hellopkg/hello] has been successfully deployed.
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2deb87]
   goroutine 1 [running]:*ServiceDeployer).DeployDependencies(0x10983730,
 0x0, 0x0)
 0x0, 0x0)
 0x0, 0x0)
 +0x3de, 0x1097f7ac)
0x109c9a40, 0x0, 0x3, 0x0, 0x0)
 +0x14*Command).execute(0x565720, 0x108ac388, 0x3, 0x3, 
0x565720, 0x108ac388)
        /home/travis/gopath/src/ +0x2df*Command).ExecuteC(0x565720, 0x3, 0x0, 0x0)
        /home/travis/gopath/src/ +0x285*Command).Execute(0x565720, 0x0, 0x0)
        /home/travis/gopath/src/ +0x1b
   I then run `wsk package list` and `wsk action list` and can see that it 
actually deployed the `hellopkg` into my namespace and the `hellopkg/hello` 
action into it.
   You can then use `wskdeploy undeploy -v -m manifest.yaml` to clean up your 
   Next time I'll give you a better example - thank you for your patience.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to